*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #050505;
    color: #f5f3ef;
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header {
    backdrop-filter: blur(40px);
    background: rgba(5, 5, 5, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.disclaimer-banner {
    background: rgba(252, 233, 79, 0.15);
    border-bottom: 1px solid rgba(252, 233, 79, 0.3);
    padding: 0.75rem 5vw;
    text-align: center;
    font-size: 0.85rem;
    color: #fce94f;
    font-weight: 500;
}

@media (max-width: 640px) {
    .disclaimer-banner {
        font-size: 0.7rem;
        padding: 0.6rem 5vw;
    }
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 5vw;
    font-size: 0.85rem;
    font-weight: 400;
}

.header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.top-actions {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .header-top {
        font-size: 0.7rem;
        padding: 0.5rem 5vw;
    }
    
    .top-actions {
        gap: 0.5rem;
    }
    
    .top-actions span {
        white-space: nowrap;
    }
    
    .header-buttons {
        gap: 0.4rem;
    }
    
    .header-buttons .ghost-btn,
    .header-buttons .primary-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5vw;
    position: relative;
}

.nav-checkbox {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: #fce94f;
    display: block;
    border-radius: 2px;
}

.nav-items {
    display: flex;
    align-items: center;
}

.nav-items ul {
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.main-nav .logo {
    font-size: 1.5rem;
    font-weight: 600;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.main-nav a {
    color: #f5f3ef;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
    background: rgba(252, 233, 79, 0.1);
    color: #fce94f;
}

.main-nav a.official-link {
    background: rgba(252, 233, 79, 0.15);
    border: 1px solid rgba(252, 233, 79, 0.3);
    color: #fce94f;
    font-weight: 600;
}

.main-nav a.official-link:hover {
    background: rgba(252, 233, 79, 0.25);
    transform: translateY(-1px);
}

.nav-items button {
    margin: 0;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 4rem 5vw;
    background: url('img/azartoflogo.png');
    background-size: 80%;
    background-position: center top;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    pointer-events: none;
}

.hero-content h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin: 0.75rem 0;
    line-height: 1.2;
    font-weight: 600;
}

.eyebrow {
    font-size: 0.85rem;
    color: #fce94f;
    font-weight: 500;
}

.hero-content p {
    max-width: 520px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.hero-stats strong {
    display: block;
    font-size: 1.3rem;
    color: #fce94f;
    font-weight: 600;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-card {
    position: relative;
    z-index: 1;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(252, 233, 79, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-height: 260px;
    backdrop-filter: blur(20px);
}

.hero-card-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(252, 233, 79, 0.15);
    border: 1px solid rgba(252, 233, 79, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fce94f;
    width: fit-content;
}

.hero-card h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f3ef;
}

.hero-card-offer {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.offer-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fce94f;
    line-height: 1;
}

.offer-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-card-features li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.section {
    padding: 3.5rem 5vw;
}

.section--content {
    background: #03030a;
}

.rich-text {
    max-width: 860px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

.rich-text h1,
.rich-text h2 {
    color: #fce94f;
    line-height: 1.3;
    font-weight: 600;
}

.rich-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.rich-text ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.rich-text ul li::before {
    content: "•";
    color: #fce94f;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.rich-text ol {
    padding-left: 1.5rem;
}

.rich-text p {
    margin-bottom: 1rem;
}

.section--gray {
    background: #0c0b14;
}

.section--dark {
    background: rgba(255, 255, 255, 0.03);
}

.section-heading h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
}

.section-heading p {
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.info-grid,
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-grid > div,
.security-grid > div {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-grid > div:hover,
.security-grid > div:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.info-grid h3,
.security-grid h3 {
    margin-bottom: 0.5rem;
    color: #fce94f;
    font-weight: 600;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -5vw;
    padding: 0 5vw;
    border-radius: 12px;
}

table {
    width: 100%;
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

thead {
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cta-grid article {
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-grid article:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cta-grid h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bullet-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bullet-list p {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.bullet-list p:hover {
    background: rgba(255, 255, 255, 0.05);
}

.section--cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section--cta h2 {
    margin: 0;
    font-weight: 600;
}

.primary-btn {
    background: #fce94f;
    color: #111;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.primary-btn:hover {
    background: #fdf5a8;
    transform: scale(1.02);
}

.primary-btn:active {
    transform: scale(0.98);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #f5f3ef;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.ghost-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.ghost-btn:active {
    transform: scale(0.98);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #f5f3ef;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.secondary-btn:active {
    transform: scale(0.98);
}

.site-footer {
    padding: 3rem 5vw;
    background: #040304;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-columns h3 {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.footer-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-columns li {
    margin-bottom: 0.5rem;
}

.footer-columns a {
    color: #f5f3ef;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.15s;
}

.footer-columns a:hover {
    opacity: 1;
    color: #fce94f;
}

.footer-note {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.mobile-actions {
    display: none;
}

@media (max-width: 960px) {
    .header-top {
        display: none;
    }

    .mobile-actions {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        gap: 0.5rem;
        padding: 1rem 5vw;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(40px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        z-index: 100;
    }

    .mobile-actions button {
        flex: 1;
    }

    body {
        padding-bottom: 80px;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-items {
        width: 100%;
        max-height: 0;
        flex-direction: column;
        overflow: hidden;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.5rem;
        transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-items ul {
        flex-direction: column;
        gap: 0.25rem;
        padding: 1rem 0;
        width: 100%;
    }

    .nav-items a {
        display: block;
        width: 100%;
    }

    .nav-items button {
        width: 100%;
        border-radius: 8px;
    }

    #nav-toggle:checked ~ .nav-items {
        max-height: 420px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .eyebrow {
        font-size: 0.75rem;
    }

    .section-heading h2 {
        font-size: 1.35rem;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 2.5rem 5vw;
    }

    .hero {
        padding: 2.5rem 5vw;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta button {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .hero-card {
        min-height: auto;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }

    .section--cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-grid,
    .security-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .bullet-list {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .rich-text h1 {
        font-size: 1.5rem;
    }

    .rich-text h2 {
        font-size: 1.25rem;
    }

    .rich-text {
        font-size: 0.95rem;
    }

    th,
    td {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .primary-btn,
    .secondary-btn {
        padding: 0.7rem 1.5rem;
    }
}
