* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'MyCustomFont';
    src: url('/Satoshi-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.newkey-container {
    max-width: 95%;
    font-family: 'MyCustomFont';
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    min-height: 85vh;
    margin: 20px;
}

.keymain-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

.keycontent-side {
    padding-right: 15px;
}

.keycontent-side h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 35px;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 0;
    transform: translateY(-20px);
    animation: titleSlideIn 0.8s ease-out 0.2s forwards;
}

.keycontent-side h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.8s both;
}

@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

.keybullet-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.keybullet-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.9));
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: slideInScale 0.6s ease-out forwards;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.keybullet-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.keybullet-item:hover::before {
    opacity: 1;
}

.keybullet-item:nth-child(1) {
    animation-delay: 0.3s;
}

.keybullet-item:nth-child(2) {
    animation-delay: 0.5s;
}

.keybullet-item:nth-child(3) {
    animation-delay: 0.7s;
}

.keybullet-item:nth-child(4) {
    animation-delay: 0.9s;
}

.keybullet-item:nth-child(5) {
    animation-delay: 1.1s;
}

.keybullet-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.15);
    border-color: rgba(79, 70, 229, 0.3);
}

@keyframes slideInScale {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.keybullet-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.keybullet-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.keybullet-icon::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transform: scale(0);
    animation: checkmarkPop 0.4s ease-out 0.3s forwards;
}

.keybullet-item:nth-child(1) .keybullet-icon::after {
    animation-delay: 0.6s;
}

.keybullet-item:nth-child(2) .keybullet-icon::after {
    animation-delay: 0.8s;
}

.keybullet-item:nth-child(3) .keybullet-icon::after {
    animation-delay: 1.0s;
}

.keybullet-item:nth-child(4) .keybullet-icon::after {
    animation-delay: 1.2s;
}

.keybullet-item:nth-child(5) .keybullet-icon::after {
    animation-delay: 1.4s;
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(-45deg);
    }

    50% {
        transform: scale(1.2) rotate(0deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.keybullet-item:hover .keybullet-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.4);
}

.keybullet-item:hover .keybullet-icon::before {
    opacity: 0.2;
}

.keyfocus-bullet-text {
    font-size: 1.05rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: textSlideIn 0.5s ease-out forwards;
}

.keybullet-item:nth-child(1) .keyfocus-bullet-text {
    animation-delay: 0.4s;
}

.keybullet-item:nth-child(2) .keyfocus-bullet-text {
    animation-delay: 0.6s;
}

.keybullet-item:nth-child(3) .keyfocus-bullet-text {
    animation-delay: 0.8s;
}

.keybullet-item:nth-child(4) .keyfocus-bullet-text {
    animation-delay: 1.0s;
}

.keybullet-item:nth-child(5) .keyfocus-bullet-text {
    animation-delay: 1.2s;
}

@keyframes textSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.keybullet-item:hover .keyfocus-bullet-text {
    color: #1e293b;
}

.gallery-side {
    height: 500px;
    overflow: hidden;
    position: relative;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    height: 100%;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
    overflow: hidden;
}

.gallery-scroll {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollVertical 20s linear infinite;
}

.gallery-column:nth-child(2) .gallery-scroll {
    animation: scrollVerticalReverse 25s linear infinite;
}

.gallery-column:nth-child(3) .gallery-scroll {
    animation: scrollVertical 30s linear infinite;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollVerticalReverse {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

.gallery-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.gallery-image:hover {
    transform: scale(1.05);
}




@media (max-width: 768px) {
    .newkey-container {
        padding: 20px 15px;
    }

    .keymain-section {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: auto;
    }

    .keycontent-side {
        padding-right: 0;
    }

    .keycontent-side h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .keybullet-item {
        padding: 16px 20px;
        gap: 16px;
    }

    .keybullet-icon {
        width: 36px;
        height: 36px;
    }

    .keybullet-icon::after {
        font-size: 14px;
    }

    .keyfocus-bullet-text {
        font-size: 0.95rem;
    }

    .gallery-side {
        height: 280px;
    }

    .gallery-container {
        grid-template-columns: none;
        grid-template-rows: repeat(3, 90px);
        gap: 12px;
        overflow-x: hidden;
        overflow-y: visible;
        display: flex;
        flex-direction: column;
    }

    .gallery-column {
        flex: 0 0 90px;
        height: 90px;
        overflow: hidden;
    }

    .gallery-scroll {
        flex-direction: row;
        animation: scrollHorizontal 15s linear infinite;
    }

    .gallery-column:nth-child(2) .gallery-scroll {
        animation: scrollHorizontalReverse 20s linear infinite;
    }

    .gallery-column:nth-child(3) .gallery-scroll {
        animation: scrollHorizontal 25s linear infinite;
    }

    @keyframes scrollHorizontal {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    @keyframes scrollHorizontalReverse {
        0% {
            transform: translateX(-50%);
        }

        100% {
            transform: translateX(0);
        }
    }

    .gallery-image {
        height: 75px;
    }
}

@media (max-width: 480px) {
    .newkey-container {
        padding: 15px 12px;
    }

    .keycontent-side h2 {
        font-size: 1.6rem;
    }

    .keybullet-item {
        padding: 14px 18px;
        gap: 14px;
    }

    .keybullet-icon {
        width: 32px;
        height: 32px;
    }

    .keyfocus-bullet-text {
        font-size: 0.9rem;
    }

    .gallery-side {
        height: 250px;
    }

    .gallery-container {
        grid-template-rows: repeat(3, 80px);
    }

    .gallery-column {
        flex: 0 0 80px;
        height: 80px;
    }

    .gallery-image {
        height: 65px;
    }
}