:root {
    --primary-yellow: #facc15;
    --accent-gold: #eab308;
    --text-white: #ffffff;
    --text-subtle: rgba(255, 235, 210, 0.75);
    --border-glass: rgba(255, 215, 120, 0.22);
    --bg-glass: rgba(45, 20, 5, 0.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body, html {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #0d0502;
    color: var(--text-white);
}

.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-image {
    position: absolute;
    inset: 0;
    background-image: url('kepek/background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 75% 55%, rgba(250, 180, 20, 0.35) 0%, rgba(180, 80, 10, 0.2) 40%, transparent 75%),
        linear-gradient(to bottom, rgba(15, 6, 2, 0.4) 0%, rgba(10, 4, 1, 0.75) 100%);
    z-index: 2;
}

.site-wrapper {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 8%;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-yellow);
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

.icon-btn svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: auto 0;
    padding: 40px 0;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary-yellow);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-tag .line {
    width: 24px;
    height: 1.5px;
    background-color: var(--primary-yellow);
}

.hero-title {
    font-size: clamp(3.2rem, 9.5vw, 7.5rem);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    user-select: none;
}

.hero-title .top-line {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #ffdfb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff8f0;
}

.hero-title .bottom-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--primary-yellow);
}

.square-dot {
    display: inline-block;
    width: 0.18em;
    height: 0.18em;
    background-color: var(--primary-yellow);
    margin-left: 0.1em;
}

.hero-desc {
    max-width: 580px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-subtle);
    font-weight: 500;
    margin-bottom: 40px;
}

.subscribe-area {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 235, 210, 0.85);
    margin-bottom: 14px;
}

.glass-pill {
    width: 100%;
    min-height: 54px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 6px 12px 6px 24px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-pill:focus-within {
    border-color: var(--primary-yellow);
    box-shadow: 0 10px 35px rgba(250, 204, 21, 0.15);
}

.subscribe-form {
    display: flex;
    width: 100%;
    align-items: center;
}

.subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 500;
}

.subscribe-form input::placeholder {
    color: rgba(255, 235, 210, 0.45);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(250, 204, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.btn-submit {
    background: var(--primary-yellow);
    color: #1a0a00;
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    animation: pulseGlow 2.5s infinite;
}

.btn-submit:hover {
    background: #ffe066;
    transform: scale(1.02);
    animation: none;
}

.success-pill {
    justify-content: center;
    gap: 10px;
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    background: rgba(80, 40, 10, 0.45);
    border-color: rgba(250, 204, 21, 0.4);
}

.check-icon {
    width: 18px;
    height: 18px;
    stroke: var(--primary-yellow);
    stroke-width: 3;
    fill: none;
}

.hidden {
    display: none !important;
}

.snake-game-wrapper {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.65;
    transition: opacity 0.3s ease;
    width: 100%;
    max-width: 400px;
}

.snake-game-wrapper:hover {
    opacity: 1;
}

.snake-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-yellow);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

#snakeCanvas {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    backdrop-filter: blur(16px);
    width: 300px;
    height: 150px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 235, 210, 0.45);
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .site-wrapper {
        padding: 20px 5%;
    }
    .hero-desc {
        font-size: 14px;
    }
    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}