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

/* CSS Variables for theming */
:root {
    --bg-color: #000000;
    --bg-gradient-1: rgba(255, 195, 45, 0.1);
    --bg-gradient-2: rgba(255, 185, 35, 0.08);
    --bg-gradient-3: rgba(255, 200, 50, 0.06);
    --bg-gradient-4: rgba(255, 190, 40, 0.06);
    --text-color: #FFFFFF;
    --btn-bg: #000000;
    --btn-border: #FFFFFF;
    --btn-glow: rgba(255, 223, 128, 0.4);
    --logo-bg: #1a1a1a;
    --modal-bg: #1a1a1a;
    --modal-border: #FFD700;
}

/* Intro/Splash Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse 80% 50% at 70% 20%, rgba(255, 195, 45, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 30% 80%, rgba(255, 185, 35, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse 40% 30% at 10% 30%, rgba(255, 200, 50, 0.06) 0%, transparent 35%),
        radial-gradient(ellipse 40% 30% at 90% 70%, rgba(255, 190, 40, 0.06) 0%, transparent 35%),
        linear-gradient(to top, rgba(255,180,0,0.08) 0%, transparent 30%),
        #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: introFadeOut 1s ease-out 3s forwards;
}

.intro-content {
    text-align: center;
    animation: introPulse 2s ease-in-out;
}

.intro-logo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FFD700;
    animation: introLogoAppear 0.5s ease-out, introLogoGlow 2s ease-in-out infinite 0.5s;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
}

.intro-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-title {
    color: #FFFFFF;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.intro-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: letterDrop 0.5s ease-out forwards;
}

@keyframes letterDrop {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-tagline {
    color: #FFD700;
    font-size: 26px;
    font-weight: 700;
    opacity: 0;
    animation: introFadeIn 1s ease-out 2s forwards;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
}

.intro-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin: 25px auto 0;
    animation: introLineExpand 0.8s ease-out 2.5s forwards;
}

@keyframes introFadeOut {
    0% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes introLogoAppear {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes introLogoGlow {
    0%, 100% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 60px rgba(255, 215, 0, 0.8);
    }
}

@keyframes introFadeInUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes introFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes introLineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 200px;
    }
}

[data-theme="light"] {
    --bg-color: #f5f5f5;
    --bg-gradient-1: rgba(255, 200, 50, 0.15);
    --bg-gradient-2: rgba(255, 180, 30, 0.12);
    --bg-gradient-3: rgba(255, 210, 60, 0.1);
    --bg-gradient-4: rgba(255, 190, 40, 0.1);
    --text-color: #1a1a1a;
    --btn-bg: #ffffff;
    --btn-border: #000000;
    --btn-glow: rgba(255, 180, 0, 0.3);
    --logo-bg: #e0e0e0;
    --modal-bg: #ffffff;
    --modal-border: #000000;
}

body {
    font-family: 'Cairo', sans-serif;
    background: 
        /* Vignette overlay for depth */
        radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%),
        /* Main light source from top-right */
        radial-gradient(ellipse 80% 50% at 70% 20%, var(--bg-gradient-1) 0%, transparent 50%),
        /* Secondary ambient light */
        radial-gradient(ellipse 60% 40% at 30% 80%, var(--bg-gradient-2) 0%, transparent 40%),
        /* Subtle corner highlights */
        radial-gradient(ellipse 40% 30% at 10% 30%, var(--bg-gradient-3) 0%, transparent 35%),
        radial-gradient(ellipse 40% 30% at 90% 70%, var(--bg-gradient-4) 0%, transparent 35%),
        /* Bottom glow for grounding */
        linear-gradient(to top, rgba(255,180,0,0.08) 0%, transparent 30%),
        /* Base color */
        var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background 0.5s ease;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--logo-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-name {
    color: var(--text-color);
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    transition: color 0.3s ease;
}

.tagline {
    color: var(--text-color);
    font-size: 14px;
    text-align: center;
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 16px 24px;
    background-color: var(--btn-bg);
    border: 2px solid var(--btn-border);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--btn-glow);
    position: relative;
    overflow: hidden;
}

.link-btn span.icon {
    margin-right: auto;
}

.link-btn .btn-text {
    flex: 1;
    text-align: center;
}

.link-btn .dots {
    font-size: 10px;
    line-height: 0.8;
    opacity: 0.7;
    text-align: center;
}

.link-btn:hover {
    background-color: var(--text-color);
    color: var(--btn-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--btn-glow);
}

.link-btn .icon {
    font-size: 20px;
}

.social-btn {
    background-color: var(--btn-bg);
    border: 2px solid var(--btn-border);
    color: var(--text-color);
}

.social-btn:hover {
    background-color: var(--text-color);
    color: var(--btn-bg);
}

/* Video Button - Same styling as other buttons */
.video-btn {
    background-color: var(--btn-bg);
    border: 2px solid var(--btn-border);
    color: var(--text-color);
}

.video-btn:hover {
    background-color: var(--text-color);
    color: var(--btn-bg);
}

/* Join Section */
.join-section {
    width: 100%;
    margin-top: 20px;
}

.join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 32px;
    background-color: var(--btn-bg);
    border: 2px solid var(--btn-border);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px var(--btn-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.join-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px var(--btn-glow);
    background-color: var(--text-color);
    color: var(--btn-bg);
    border-color: var(--text-color);
}

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

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--btn-bg);
    border: 2px solid var(--btn-border);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--btn-glow);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--btn-glow);
}

/* Responsive */
@media (max-width: 480px) {
    .restaurant-name {
        font-size: 24px;
    }
    
    .tagline {
        font-size: 12px;
    }
    
    .link-btn {
        font-size: 14px;
        padding: 14px 20px;
    }
    
    .join-btn {
        font-size: 16px;
        padding: 16px 24px;
    }
    
    .logo-circle {
        width: 120px;
        height: 120px;
    }
}

/* Loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease-out;
}

.link-btn {
    animation: fadeIn 0.6s ease-out backwards;
}

.link-btn:nth-child(1) { animation-delay: 0.1s; }
.link-btn:nth-child(2) { animation-delay: 0.2s; }
.link-btn:nth-child(3) { animation-delay: 0.3s; }
.link-btn:nth-child(4) { animation-delay: 0.4s; }
.link-btn:nth-child(5) { animation-delay: 0.5s; }
.link-btn:nth-child(6) { animation-delay: 0.6s; }
.link-btn:nth-child(7) { animation-delay: 0.7s; }
.link-btn:nth-child(8) { animation-delay: 0.8s; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--modal-bg);
    border: 2px solid var(--modal-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    min-width: 300px;
    box-shadow: 0 0 40px rgba(255, 223, 128, 0.4);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #FFFFFF;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #cccccc;
}

.modal-title {
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-subtitle {
    color: #cccccc;
    font-size: 16px;
    margin-bottom: 30px;
}

.phone-number {
    display: inline-block;
    background-color: #FFFFFF;
    color: #000000;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 223, 128, 0.6);
}

.modal.active {
    display: flex;
}
