/* Modern dark theme with bold white text */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Import additional font weights */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Base responsive settings */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

/* Portrait mode specific settings - applied to all orientations */
@media (max-width: 480px) {
    html {
        font-size: 11px;
    }
}

@media (max-height: 600px) {
    html {
        font-size: 10px;
    }
}

/* Lock aspect ratio and maintain consistent layout regardless of orientation */

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    color: #ffffff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    body {
        justify-content: center;
        overflow: hidden;
    }
}

@media (max-height: 700px) {
    /* Media query for low-height screens */
}

/* Logo styling */
.logo-container {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

@media (max-width: 768px) {
    .logo-container {
        top: 20px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        top: 15px;
    }
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00bcd4, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 10px 20px;
    border-radius: 10px;
    position: relative;
    letter-spacing: 2px;
    animation: pulse 2s infinite ease-in-out;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.2rem;
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
        padding: 6px 12px;
    }
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: -1;
}

/* Add subtle animated background pattern */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.02) 1%, transparent 1%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.02) 1%, transparent 1%);
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: -1;
    animation: backgroundShift 60s linear infinite;
}

/* Canvas for particles */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

@keyframes backgroundShift {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: center;
    z-index: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

.content {
    animation: fadeIn 1.5s ease-in-out;
    padding: 40px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 15px;
        border-radius: 15px;
    }
}

@media (max-width: 768px) and (max-height: 900px) {
    .content {
        padding: 25px 15px;
    }
}

h1 {
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #00bcd4, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    text-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

@media (max-width: 768px) {
    h1 {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) and (max-height: 900px) {
    h1 {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
}

@media (max-height: 600px) {
    h1 {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
}

@keyframes shine {
    to { background-position: 200% center; }
}

p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
    color: #f0f0f0;
}

@media (max-width: 768px) {
    p {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

/* Working message styling */
.working-message {
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.working-message p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(167, 119, 227, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .working-message {
        margin: 30px auto;
    }
    
    .working-message p {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .working-message {
        margin: 20px auto;
    }
    
    .working-message p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) and (max-height: 900px) {
    .working-message {
        margin: 25px auto;
    }
    
    .working-message p {
        font-size: 1.4rem;
    }
}

@media (max-height: 600px) {
    .working-message {
        margin: 15px auto;
    }
    
    .working-message p {
        font-size: 1.2rem;
    }
}

.notify-success {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    background: rgba(0, 188, 212, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.notify-success.show {
    opacity: 1;
}

.notify-btn {
    background: linear-gradient(45deg, #00bcd4, #00838f);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .notify-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .notify-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

.notify-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 188, 212, 0.4);
}

.notify-btn:hover::before {
    left: 100%;
}

.bell-icon {
    font-size: 1.2rem;
    animation: bellShake 3s infinite ease-in-out;
    display: inline-block;
}

@keyframes bellShake {
    0%, 50%, 100% { transform: rotate(0); }
    5%, 15%, 25% { transform: rotate(10deg); }
    10%, 20% { transform: rotate(-10deg); }
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .countdown {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .countdown {
        gap: 10px;
    }
}

@media (max-width: 768px) and (max-height: 900px) {
    .countdown {
        margin-top: 30px;
    }
    
    .countdown-item {
        padding: 15px;
    }
}

@media (max-height: 700px) {
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 10px;
    }
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 30px;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 120px;
}

@media (max-width: 768px) {
    .countdown-item {
        padding: 15px 20px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .countdown-item {
        padding: 10px 15px;
        min-width: 80px;
    }
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.countdown-item span:first-child {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #00bcd4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px rgba(0, 188, 212, 0.2);
}

@media (max-width: 768px) {
    .countdown-item span:first-child {
        font-size: 3rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .countdown-item span:first-child {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}



@media (max-width: 768px) {
    .copyright {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .copyright {
        padding: 10px;
    }
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .copyright p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .copyright p {
        font-size: 0.8rem;
    }
}

.copyright a {
    color: #00bcd4;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.copyright a:hover {
    color: #fff;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.copyright a:hover::after {
    width: 100%;
}

.copyright a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 20px 10px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-content a {
    color: #00bcd4;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

#cookie-accept {
    background-color: #00bcd4;
    color: #fff;
}

#cookie-accept:hover {
    background-color: #008ba3;
}

#cookie-decline, #cookie-preferences {
    background-color: transparent;
    color: #fff;
    border: 1px solid #ffffff;
}

#cookie-decline:hover, #cookie-preferences:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Cookie Preferences Modal */
#cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.preferences-content {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.preferences-content h2 {
    margin-bottom: 20px;
    color: #00bcd4;
}

.preference-group {
    margin-bottom: 20px;
}

.preference-group label {
    display: flex;
    align-items: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.preference-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.preference-group p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0 0 0 28px;
}

.preference-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.preference-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

#save-preferences {
    background-color: #00bcd4;
    color: #fff;
}

#close-preferences {
    background-color: transparent;
    color: #fff;
    border: 1px solid #ffffff;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    p {
        font-size: 1.2rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item span:first-child {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    p {
        font-size: 1rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item span:first-child {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
}