@font-face {
    font-family: 'Product Sans';
    src: url('fonts/ProductSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Product Sans';
    src: url('fonts/ProductSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: #1A1A49;
    font-family: 'Product Sans', 'Roboto', sans-serif;
    padding: 20px;
    overflow-x: hidden;
}

.header {
    background: #2E2E63;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    gap: 15px;
}

.logo {
    background: #D5C4FF;
    color: #21214E;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 500;
    height: 44px;
    padding: 0 20px;
    display: grid;
    place-items: center;
}

.nav {
    display: flex;
    gap: 24px;
}

.nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav a:hover {
    color: #D5C4FF;
}

.hero {
    max-width: 800px;
    min-height: calc(100vh - 100px);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 0;
}

.hero h1 {
    color: #FFFFFF;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #D5C4FF;
}

.hero p {
    color: #D5C4FF;
    font-size: 20px;
    max-width: 650px;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 8px;
    display: flex;
    gap: 16px;
}

button.btn {
    border: none;
    outline: none;
    cursor: pointer;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    background-clip: padding-box;
    transform: translate3d(0,0,0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: #D5C4FF;
    color: #1A1A49;
    box-shadow: 0 0 1px rgba(0,0,0,0);
}

.btn-primary:hover {
    background: #FFFFFF;
}

.btn-secondary {
    color: #D5C4FF;
    box-shadow: inset 0 0 0 2px #D5C4FF;
}

.btn-secondary:hover {
    background: rgba(213, 196, 255, 0.1);
}

.features {
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.features-text {
    flex: 1.1;
    max-width: 550px;
}

.features-intro {
    color: rgba(255, 255, 255, 0.8);
    font-size: 22px;
    line-height: 1.6;
}

.features-text h2 {
    color: #FFFFFF;
    font-size: 52px;
    font-weight: 700;
    margin: 12px 0 24px 0;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    color: #D5C4FF;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

.features-list li::before {
    content: "—";
    color: #474783;
    font-weight: bold;
}

.features-media {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 480px;
}

.img-item {
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #2E2E63;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;
}

.img-item:hover {
    transform: scale(1.02);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 48, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1200;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 73, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1100;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: #21214E;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 24px;
    border: 1px solid #474783;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #474783;
}

.modal-header h2 {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
}

.modal-close {
    background: transparent;
    border: none;
    color: #474783;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #D5C4FF;
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #2E2E63;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #474783;
}

.step-left, .step-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-badge {
    background: rgba(213, 196, 255, 0.15);
    color: #D5C4FF;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
}

.step-card h3 {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
}

.step-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.5;
}

.modal-btn {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 14px;
}

.step-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #1A1A49;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.img-caption {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-align: center;
    line-height: 1.4;
}

kbd {
    background: rgba(213, 196, 255, 0.2);
    border: 1px solid #D5C4FF;
    border-radius: 4px;
    padding: 1px 6px;
    font-family: monospace;
    color: #FFFFFF;
}

@media (max-width: 900px) {
    .features {
        flex-direction: column;
        gap: 50px;
        align-items: center;
        text-align: center;
        margin: 60px auto;
    }
    .features-text {
        max-width: 100%;
    }
    .features-list li {
        justify-content: center;
    }
    .features-media {
        max-width: 550px;
    }
}

@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    .step-card.inverse {
        flex-direction: column-reverse;
    }
    .step-badge {
        margin: 0 auto;
    }
    .modal-btn {
        align-self: center;
    }
}

@media (max-width: 600px) {
    body {
        padding: 12px;
    }
    .header {
        padding: 0 16px;
    }
    .nav {
        gap: 12px;
    }
    .nav a {
        font-size: 14px;
    }
    .hero {
        padding: 40px 0;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .features-text h2 {
        font-size: 40px;
    }
    .features-intro {
        font-size: 18px;
    }
    .features-list li {
        font-size: 16px;
    }
}

.footer {
    background: #21214E;
    border: 1px solid #474783;
    padding: 40px 20px;
    margin-top: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50px;
    width: 100%;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    color: #FFFFFF;
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
}

.footer-credits {
    color: #D5C4FF;
    font-size: 14px;
    opacity: 0.8;
}

.footer-credits strong {
    color: #FFFFFF;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-link.discord {
    background: #5865F2;
    color: #FFFFFF;
}

.social-link.discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.social-link.telegram {
    background: #24A1DE;
    color: #FFFFFF;
}

.social-link.telegram:hover {
    background: #1D84B5;
    transform: translateY(-2px);
}

.footer-divider {
    border: none;
    border-top: 1px solid #474783;
    opacity: 0.5;
}

.footer-bottom {
    text-align: center;
}

.disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.6;
    max-width: 860px;
    margin: 0 auto;
}

.disclaimer strong {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
}