/* ========================= */
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* ========================= */
/* BODY */
.cookies-body {
    background: #828385;
    color: #f5f5f5; 
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
    padding: 20px;
}

/* ========================= */
/* CONTAINER */
.cookies-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0,0,0,0.4);
    padding: 40px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

/* ========================= */
/* HEADINGS */
.cookies-title {
    font-size: 38px;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.cookies-subtitle {
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #e0e0e0;
}

/* ========================= */
/* TEXT */
.cookies-text {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ddd;
}

/* ========================= */
/* LIST */
.cookies-list {
    list-style: disc;
    padding-left: 20px;
    margin-top: 15px;
}

.cookies-list li {
    margin: 8px 0;
}

/* ========================= */
/* BACKGROUND ANIMATION */
.cookies-bg-anim {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: visible;
}

/* SHAPES COMMON */
.cookies-shape {
    position: absolute;
    display: block;
    animation: cookies-float 15s linear infinite;
    opacity: 0.7;
    transform: translateY(100vh) rotate(0deg);
    border-radius: 50%;
}

/* CIRCLE */
.cookies-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff6b6b, #f7d794);
}

/* SMALL CIRCLE */
.cookies-circle-small {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #48dbfb, #1dd1a1);
}

/* CUBE */
.cookies-cube {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ff9ff3, #ee5253);
    transform: rotate(45deg);
    border-radius: 5px;
}

/* STAR */
.cookies-star {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 24px solid;
    border-image: linear-gradient(45deg, #feca57, #5f27cd) 1;
}

.cookies-star::after {
    content: '';
    position: absolute;
    top: 8px;
    left: -12px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 24px solid;
    border-image: linear-gradient(45deg, #f368e0, #00d2d3) 1;
}

/* RANDOM POSITIONS AND DURATION */
.cookies-shape:nth-child(1) { left: 10%; animation-duration: 18s; }
.cookies-shape:nth-child(2) { left: 25%; animation-duration: 20s; }
.cookies-shape:nth-child(3) { left: 40%; animation-duration: 22s; }
.cookies-shape:nth-child(4) { left: 55%; animation-duration: 19s; }
.cookies-shape:nth-child(5) { left: 70%; animation-duration: 21s; }
.cookies-shape:nth-child(6) { left: 85%; animation-duration: 23s; }

/* ANIMATION KEYFRAMES */
@keyframes cookies-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    30% {
        opacity: 0.5;
    }
    50% {
        transform: translateY(50vh) rotate(180deg);
        opacity: 0.7;
    }
    70% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-50vh) rotate(360deg);
        opacity: 0;
    }
}

/* ========================= */
/* RESPONSIVE */
@media (max-width: 768px) {
    .cookies-title { font-size: 28px; }
    .cookies-subtitle { font-size: 20px; }
    .cookies-text { font-size: 14px; }
    .cookies-container { padding: 20px; }
}


footer {
    position: relative; /* ya sticky, ya fixed */
    z-index: 10; /* background se upar */
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5; /* footer se pehle, par background ke upar */
    display: none; /* sirf menu active hone par show karna */
}