* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #06070d;
    color: #f8f7ff;
}

.ad-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(95, 77, 255, 0.35), transparent 32%),
        radial-gradient(circle at top right, rgba(0, 229, 255, 0.22), transparent 30%),
        linear-gradient(135deg, #06070d 0%, #111827 45%, #070a12 100%);
}

.ad-hero {
    min-height: 92vh;
    padding: 90px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ad-kicker {
    margin: 0 0 14px;
    color: #73f7ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ad-hero h1 {
    margin: 0;
    font-size: clamp(4rem, 11vw, 9rem);
    line-height: 0.9;
}

.ad-hero p {
    max-width: 680px;
    margin: 28px 0 0;
    color: #c7cadc;
    font-size: 1.25rem;
    line-height: 1.7;
}

.ad-btn {
    width: fit-content;
    margin-top: 34px;
    padding: 14px 24px;
    border: 1px solid rgba(115, 247, 255, 0.7);
    border-radius: 999px;
    background: rgba(115, 247, 255, 0.12);
    color: #f8f7ff;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 0 30px rgba(115, 247, 255, 0.18);
    transition: 0.3s ease;
}

.ad-btn:hover {
    background: #73f7ff;
    color: #06070d;
    transform: translateY(-2px);
}

.ad-btn.secondary {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.ad-simulator {
    padding: 80px 8%;
    display: block;
}

.video-panel,
.interest-panel,
.web3-layer {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.video-panel {
    overflow: hidden;
}

.video-topbar {
    height: 44px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.video-topbar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #73f7ff;
}

.video-topbar span:nth-child(2) {
    background: #a78bfa;
}

.video-topbar span:nth-child(3) {
    background: #ff8a65;
}

.video-screen {
    position: relative;
    min-height: 680px;
    padding: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background:
        linear-gradient(rgba(5, 7, 13, 0.25), rgba(5, 7, 13, 0.8)),
        url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1400&q=80");
    background-size: cover;
    background-position: center;
}

.video-label {
    width: fit-content;
    margin: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #d8dcff;
    font-size: 0.85rem;
    font-weight: 700;
}

.ad-overlay {
    position: absolute;
    right: 32px;
    bottom: 32px;
    max-width: 520px;
    padding: 24px;
    border: 1px solid rgba(115, 247, 255, 0.35);
    border-radius: 22px;
    background: rgba(6, 7, 13, 0.72);
    backdrop-filter: blur(18px);
    box-shadow: 0 0 40px rgba(115, 247, 255, 0.16);
}

.ad-overlay span {
    color: #73f7ff;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.ad-overlay h2 {
    margin: 12px 0;
    font-size: clamp(1.7rem, 4vw, 3rem);
    line-height: 1;
}

.ad-overlay p {
    margin: 0;
    color: #c7cadc;
    line-height: 1.6;
}

.ad-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.ad-actions button {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.1);
    color: #f8f7ff;
    font-weight: 800;
    cursor: pointer;
    transition: 0.25s ease;
}

.ad-actions button:hover {
    border-color: #73f7ff;
    background: rgba(115, 247, 255, 0.18);
}

.floating-feedback {
    position: absolute;
    left: 32px;
    bottom: 32px;
    max-width: 360px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.52);
    color: #c7cadc;
    backdrop-filter: blur(16px);
    line-height: 1.5;
}

.preferences-section {
    padding: 80px 8%;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
}

.preferences-section h2,
.web3-layer h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.preferences-section p {
    color: #c7cadc;
    line-height: 1.7;
}

.interest-panel {
    padding: 28px;
    display: grid;
    gap: 22px;
}

.interest-item span {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
}

.bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #73f7ff, #a78bfa);
}

.fill.tech {
    width: 86%;
}

.fill.education {
    width: 68%;
}

.fill.finance {
    width: 42%;
}

.fill.games {
    width: 35%;
}

.web3-layer {
    margin: 40px 8% 90px;
    padding: 56px;
}

.web3-layer p {
    max-width: 900px;
    color: #c7cadc;
    font-size: 1.1rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .preferences-section {
        grid-template-columns: 1fr;
    }

    .ad-hero {
        min-height: 76vh;
    }

    .video-screen {
        min-height: 520px;
    }

    .ad-overlay,
    .floating-feedback {
        position: static;
        max-width: 100%;
        margin-top: 16px;
    }
}

@media (max-width: 560px) {

    .ad-hero,
    .ad-simulator,
    .preferences-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .web3-layer {
        margin-left: 20px;
        margin-right: 20px;
        padding: 28px;
    }

    .ad-hero h1 {
        font-size: 3.6rem;
    }
}