 :root {
            --bg: #050506;
            --bg-soft: #0c0c0f;
            --panel: rgba(255,255,255,0.045);
            --panel-strong: rgba(255,255,255,0.075);
            --text: #f7f4ea;
            --muted: #bdb7a7;
            --line: rgba(255,255,255,0.105);
            --yellow: #ffcc00;
            --yellow-2: #ffb800;
            --cream: #f5f1e6;
            --black: #050506;
            --shadow: 0 24px 75px rgba(0,0,0,0.5);
            --radius: 24px;
            --radius-lg: 36px;
            --max: 1240px;
            --font-main: Inter, Arial, Helvetica, sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-main);
            color: var(--text);
            background:
                radial-gradient(circle at 12% 0%, rgba(255,204,0,0.20), transparent 26%),
                radial-gradient(circle at 88% 16%, rgba(255,184,0,0.12), transparent 28%),
                radial-gradient(circle at 50% 96%, rgba(245,241,230,0.08), transparent 32%),
                linear-gradient(180deg, #050506 0%, #0b0b0e 44%, #050506 100%);
            line-height: 1.55;
            overflow-x: hidden;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
            background-size: 64px 64px;
            mask-image: linear-gradient(180deg, rgba(0,0,0,0.62), transparent 78%);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

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

        .container {
            width: min(calc(100% - 32px), var(--max));
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
 /* Footer */
.footer {
    padding: 70px 0 0;
    color: var(--muted);
    position: relative;
}

.footer::before {
    content: "";
    display: block;
    width: min(calc(100% - 32px), var(--max));
    height: 1px;
    margin: 0 auto 34px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,204,0,0.35),
        rgba(255,255,255,0.12),
        transparent
    );
}

.footer .container {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 0.9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.footer-col {
    min-height: 100%;
    padding: 26px;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at top left, rgba(255,204,0,0.08), transparent 32%),
        rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 900;
}

.footer-col p {
    color: var(--muted);
    font-size: 0.94rem;
    margin-bottom: 10px;
}

.footer-col p:last-child {
    margin-bottom: 0;
}

.footer-col a {
    color: var(--muted);
    transition: 0.22s ease;
}

.footer-col a:hover {
    color: var(--yellow);
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-line i {
    width: 20px;
    color: var(--yellow);
    font-size: 0.95rem;
    text-align: center;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--text);
    transition: 0.22s ease;
}

.social-links a:hover {
    color: #050506;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-2));
    border-color: rgba(255,204,0,0.55);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255,204,0,0.22);
}

.footer-bottom {
    margin-top: 34px;
    padding: 22px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    background: rgba(0,0,0,0.18);
}

.footer-bottom p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer responsive */
@media (max-width: 1120px) {
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .footer {
        padding-top: 52px;
    }

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

    .footer-col {
        padding: 22px;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }
}

/* Back to top button */
#backToTop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.32), transparent 32%),
        linear-gradient(135deg, var(--yellow), var(--yellow-2));
    color: var(--black);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(255,204,0,0.24);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.96);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#backToTop:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 22px 54px rgba(255,204,0,0.34);
}

#backToTop:active {
    transform: translateY(0) scale(0.98);
}

#backToTop i {
    line-height: 1;
}

/* Mobile */
@media (max-width: 820px) {
    #backToTop {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }
}