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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Background particles/stars */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    contain: layout style paint;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700;
    animation: twinkle 3s infinite ease-in-out;
    will-change: opacity, transform;
}

.particle:nth-child(1) {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 20%;
    left: 80%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    top: 70%;
    left: 10%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 85%;
    animation-delay: 1.5s;
}

.particle:nth-child(5) {
    top: 15%;
    left: 50%;
    animation-delay: 2s;
}

.particle:nth-child(6) {
    top: 60%;
    left: 90%;
    animation-delay: 2.5s;
}

.particle:nth-child(7) {
    top: 40%;
    left: 5%;
    animation-delay: 0.8s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 50%;
    animation-delay: 1.8s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Main container */
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
}

/* Glowing ring */
.ring {
    position: absolute;
    width: min(500px, 80vw);
    height: min(500px, 80vw);
    border-radius: 50%;
    border: 3px solid rgba(139, 69, 19, 0.5);
    box-shadow:
        0 0 20px rgba(255, 100, 0, 0.3),
        inset 0 0 20px rgba(255, 100, 0, 0.2);
    contain: layout style paint;
    pointer-events: none;
}

/* Lights on the ring */
.light {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: rotateLight 10s linear infinite;
    will-change: transform;
}

.light::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.light:nth-child(odd)::before {
    background: radial-gradient(circle, #ff6b35 0%, #ff4500 50%, transparent 70%);
    box-shadow: 0 0 15px #ff6b35, 0 0 30px #ff4500;
}

.light:nth-child(even)::before {
    background: radial-gradient(circle, #ffaa00 0%, #ff8800 50%, transparent 70%);
    box-shadow: 0 0 15px #ffaa00, 0 0 30px #ff8800;
}

.light {
    transform:
        rotate(calc(var(--i) * 30deg)) translate(min(250px, 40vw));
}

@keyframes rotateLight {
    from {
        filter: hue-rotate(0deg);
    }

    to {
        filter: hue-rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Floating decorative elements */
.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 107, 0.5));
}

.left-element {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.right-element {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: clamp(30px, 5vh, 60px);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.age {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #cccccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.years {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #999999;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: #ffffff;
}

/* Buttons */
.buttons {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: clamp(12px, 2vh, 18px) clamp(40px, 6vw, 80px);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    border: 3px solid;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: clamp(120px, 20vw, 180px);
}

.btn-yes {
    background: linear-gradient(135deg, #8b0000 0%, #b30000 100%);
    border-color: #d32f2f;
    color: #ffffff;
    box-shadow:
        0 0 20px rgba(139, 0, 0, 0.5),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.btn-yes:hover {
    background: linear-gradient(135deg, #a00000 0%, #cc0000 100%);
    box-shadow:
        0 0 30px rgba(139, 0, 0, 0.8),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn-yes:active {
    transform: translateY(-1px);
    box-shadow:
        0 0 15px rgba(139, 0, 0, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}

.btn-no {
    background: linear-gradient(135deg, #c00000 0%, #ff0000 100%);
    border-color: #ff4444;
    color: #ffffff;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.5),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.btn-no:hover {
    background: linear-gradient(135deg, #d00000 0%, #ff2222 100%);
    box-shadow:
        0 0 30px rgba(255, 0, 0, 0.8),
        inset 0 -3px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.btn-no:active {
    transform: translateY(-1px);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.6),
        inset 0 -2px 5px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-element {
        width: 80px;
        height: 80px;
    }

    .floating-element svg {
        width: 80px;
        height: 80px;
    }

    .left-element {
        top: 5%;
        left: 5%;
    }

    .right-element {
        top: 8%;
        right: 5%;
    }

    .ring {
        width: min(400px, 75vw);
        height: min(400px, 75vw);
    }

    .light {
        width: 10px;
        height: 10px;
        transform:
            rotate(calc(var(--i) * 30deg)) translate(min(200px, 37.5vw));
    }
}

@media (max-width: 480px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        padding: 40px 20px;
    }

    .floating-element {
        width: 60px;
        height: 60px;
    }

    .floating-element svg {
        width: 60px;
        height: 60px;
    }

    .ring {
        width: min(300px, 70vw);
        height: min(300px, 70vw);
    }

    .light {
        width: 8px;
        height: 8px;
        transform:
            rotate(calc(var(--i) * 30deg)) translate(min(150px, 35vw));
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .ring {
        width: 250px;
        height: 250px;
    }

    .light {
        transform:
            rotate(calc(var(--i) * 30deg)) translate(125px);
    }
}