:root {
    --bg-color: #050810; /* Darker space background */
    --card-bg: rgba(20, 25, 40, 0.7);
    --nav-bg: rgba(5, 8, 16, 0.85);
    --primary-color: #5865F2; /* Discord blurple */
    --primary-hover: #4752c4;
    --accent-glow: #818cf8;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-glow));
    border-radius: 10px;
    border: 3px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-hover), #6366f1);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Tajawal', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    cursor: none; /* Hide default cursor */
}

/* English Fonts */
.logo, #header-title, .footer-brand h2 {
    font-family: 'Poppins', sans-serif;
}

/* Custom Cursor */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: width 0.2s, height 0.2s, background-color 0.2s, transform 0.2s;
}

/* Hide cursor on small screens */
@media (max-width: 768px) {
    .cursor-dot, .cursor-outline { display: none; }
    body { cursor: auto; }
}

/* Background Animation */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(88, 101, 242, 0.08), transparent 50%),
                radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.05), transparent 50%);
}

.background span {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: smoothFloat 15s infinite cubic-bezier(0.4, 0, 0.2, 1) alternate;
    will-change: transform;
}

.background span:nth-child(1) {
    width: 60vw;
    height: 60vw;
    background: var(--primary-color);
    top: -20%;
    left: -10%;
}

.background span:nth-child(2) {
    width: 50vw;
    height: 50vw;
    background: #8b5cf6;
    bottom: -20%;
    right: -10%;
    animation-delay: -7s;
}

@keyframes smoothFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(50px, 50px, 0) scale(1.1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(129, 140, 248, 0.1));
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-glow));
    border-color: transparent;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.nav-btn {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 220px 20px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px; /* For 3D effect on text */
}

/* --- ELEGANT BAGHDAD ANIMATION --- */
.hero h1 {
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    display: inline-block;
    cursor: none;
    letter-spacing: 2px;
}

.hero h1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 5px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-glow), transparent);
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 30px var(--primary-color);
    border-radius: 3px;
}

.hero h1:hover {
    transform: translateY(-8px) scale(1.03);
    text-shadow: 0 15px 50px rgba(255, 255, 255, 0.4), 0 0 20px rgba(129, 140, 248, 0.3);
    letter-spacing: 8px;
}

.hero h1:hover::after {
    width: 120%;
}

.hero p {
    font-size: 1.6rem;
    color: #cbd5e1;
    max-width: 700px;
    font-weight: 500;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards ease-out;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Main Container */
.container {
    max-width: 1400px; /* Extremely wide */
    margin: 0 auto;
    padding: 0 40px;
    flex-grow: 1;
    width: 100%;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.divider {
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    border-radius: 3px;
    box-shadow: 0 0 20px var(--primary-color);
}

.section-desc {
    margin-top: 25px;
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Bots Section */
.bots-section {
    padding: 20px 0 100px;
}

/* Force bots side-by-side */
.bots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .bots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .bots-grid {
        grid-template-columns: 1fr;
    }
}

/* Bot Card (3D Tilt Ready) */
.bot-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 1s forwards ease-out;
    transform-style: preserve-3d; /* Parallax effect for children */
}

/* Parallax elements inside card */
.bot-card > * {
    transform: translateZ(30px);
}

.avatar-container {
    width: 120px;
    height: 120px;
    background-color: #1a2030;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5), inset 0 0 20px rgba(88, 101, 242, 0.2);
    overflow: hidden;
    border: 3px solid rgba(88, 101, 242, 0.3);
    transform: translateZ(50px); /* Pops out more */
}

.bot-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for images */
}

.bot-name {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffffff;
    transform: translateZ(40px);
}

.bot-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 45px;
    flex-grow: 1;
    transform: translateZ(20px);
}

.bot-invite {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-glow));
    color: white;
    text-decoration: none;
    padding: 18px 20px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    transform: translateZ(60px); /* Pops out the most */
}

.bot-invite:hover:not(.disabled) {
    box-shadow: 0 15px 40px rgba(88, 101, 242, 0.7);
    filter: brightness(1.2);
}

.bot-invite.disabled {
    background: #1a2030;
    color: #475569;
    cursor: not-allowed;
    box-shadow: none;
}

/* Community / Widget Section */
.community-section {
    padding: 60px 0 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Custom Discord Widget CSS */
.widget-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.widget-container:hover {
    transform: none;
    box-shadow: none;
}
.custom-discord-widget {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: transform 0.4s ease;
}
.custom-discord-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
}
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}
@media(max-width: 600px) {
    .widget-header { flex-direction: column; gap: 15px; text-align: center; }
}
.server-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}
.server-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.online-dot {
    width: 10px;
    height: 10px;
    background-color: #23a559;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #23a559;
}
.join-btn {
    background-color: #23a559;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.join-btn:hover {
    background-color: #1b8546;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(35, 165, 89, 0.4);
}
.widget-members {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.member-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: none;
    transition: transform 0.3s ease;
}
.member-avatar:hover {
    transform: scale(1.15) translateY(-5px);
    z-index: 2;
}
.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2b2d31;
}
.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #2b2d31;
}
.status-online { background-color: #23a559; }
.status-idle { background-color: #f0b232; }
.status-dnd { background-color: #f23f43; }

/* Logo and Header Title Link Colors */
.logo a, #header-title a {
    color: inherit;
    text-decoration: none;
}

/* High Z-Index for Custom Cursor to stay on top of everything */
#cursor-dot, #cursor-outline {
    z-index: 100000;
    pointer-events: none;
}

/* Lore Overlay (Full Screen Experience) */
.lore-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #03050a;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: none !important;
    direction: ltr !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

.lore-overlay * {
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.lore-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-lore {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    z-index: 10001;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: none !important;
}

.close-lore:hover {
    background: var(--primary-color);
    box-shadow: 0 0 30px var(--primary-color);
    transform: rotate(90deg) scale(1.1);
}

/* Custom Scrollbar for Lore Overlay (The Slider) */
.lore-overlay::-webkit-scrollbar {
    width: 6px;
}
.lore-overlay::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.5);
}
.lore-overlay::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-glow));
    border-radius: 10px;
    box-shadow: 0 0 15px var(--primary-color);
}

/* Central Interactive Slider (Visualizer Design) */
.lore-slider-container {
    position: fixed;
    left: 50%;
    top: 10%;
    width: 150px;
    height: 80%;
    transform: translateX(-50%);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    cursor: none !important;
}

.slider-bar {
    width: 12px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15); /* More visible by default */
    transition: width 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

.slider-bar.active {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    opacity: 1 !important;
    width: 40px;
}

.lore-slider-thumb {
    position: absolute;
    top: 0;
    width: 40px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 10003;
    pointer-events: none;
}

.lore-slider-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.lore-progress-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    background: rgba(0,0,0,0.5);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(88, 101, 242, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10002;
    font-family: 'Poppins', sans-serif;
}

/* Background Animated Blobs */
.lore-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.05) 0%, transparent 70%);
    filter: blur(50px);
    border-radius: 50%;
    animation: moveBlob 20s infinite alternate;
}

.blob:nth-child(1) { top: -10%; left: -10%; animation-delay: 0s; }
.blob:nth-child(2) { bottom: -10%; right: -10%; animation-delay: -5s; }
.blob:nth-child(3) { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

.lore-scene {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 8%;
    z-index: 1;
}

.lore-scene.left { justify-content: flex-start; }
.lore-scene.right { justify-content: flex-end; }

.lore-scene-content {
    max-width: 42%;
    z-index: 2;
    direction: rtl;
}

.left .lore-scene-content { text-align: left; }
.right .lore-scene-content { text-align: right; }

/* Side Indicators */
.side-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 25rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    font-family: 'Poppins', sans-serif;
    z-index: 1;
}

.left .side-indicator { right: 5%; }
.right .side-indicator { left: 5%; }

.scene-tag {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 40px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.2);
}

.scene-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: #fff;
    line-height: 1.1;
}

.scene-text {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 50px;
}

/* CSS-Based Cards */
.scene-card-code {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.left .scene-card-code { margin-right: auto; }
.right .scene-card-code { margin-left: auto; }

.scene-card-code:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 5rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon svg {
    width: 100px;
    height: 100px;
    color: var(--primary-color);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.card-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    filter: blur(80px);
    opacity: 0.2;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.5); opacity: 0.4; }
}

/* Reveal Animations inside Lore */
.reveal-text {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-text.revealed {
    opacity: 1;
    transform: translateY(0);
}

.scene-card.revealed {
    transform: translateY(0);
}

/* Fix header title link color */
#header-title a {
    color: inherit;
    text-decoration: none;
}

/* Professional Footer */
.footer {
    background: #03050a;
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 100px 0 30px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 500px;
    font-size: 1.15rem;
}

.footer-links h3, .footer-social h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: 800;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 18px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.15rem;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    transform: translateX(-5px); /* RTL left translation */
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 1.15rem;
    display: inline-block;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.logo:hover {
    letter-spacing: 2px;
    filter: drop-shadow(0 0 15px var(--primary-color));
    transform: scale(1.05);
}

/* Footer Baghdad Animation */
.footer-logo {
    font-size: 4rem;
    font-weight: 950;
    background: linear-gradient(to right, #fff, var(--primary-color), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite, floatText 6s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.3));
    letter-spacing: -2px;
    transition: letter-spacing 0.8s ease;
}

.footer-logo:hover {
    letter-spacing: 10px;
}

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

@keyframes floatText {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #475569;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .hero h1 {
        font-size: 5rem;
    }
    .nav-links, .nav-btn {
        display: none;
    }
}

/* Generic Overlay Styling */
.generic-overlay {
    background: radial-gradient(circle at center, #0a0e1a 0%, #03050a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.generic-content-wrapper {
    max-width: 800px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

#generic-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#generic-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 50px;
}

.generic-body {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.generic-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.generic-section:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.generic-section h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.generic-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.team-text {
    font-size: 1.8rem;
    line-height: 2;
    color: #fff;
    text-align: center;
    background: rgba(88, 101, 242, 0.05);
    padding: 50px;
    border-radius: 30px;
    border: 2px dashed rgba(88, 101, 242, 0.2);
}
