/* ========================================
   EldoriaCraft Website Styles - Light/Dark Theme
   ======================================== */

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

/* Light Theme (Default) */
:root {
    --primary-color: #a855f7;
    --secondary-color: #06b6d4;
    --accent-color: #c084fc;

    /* Light Theme Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    --background: #0a0a0a;
    --background-secondary: #1a1a1a;
    --border-color: #2a2a2a;

    --success-color: #48bb78;
    --error-color: #f56565;
    --warning-color: #ed8936;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s;

    /* Navbar specific */
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --navbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Dark Theme */
[data-theme="dark"] {
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    --background: #000000;
    --background-secondary: #0f0f0f;
    --border-color: #1a1a1a;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);

    /* Navbar specific */
    --navbar-bg: rgba(45, 55, 72, 0.95);
    --navbar-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--navbar-shadow);
    z-index: 1000;
    transition: background var(--transition-speed), box-shadow var(--transition-speed);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.nav-logo-img {
    max-height: 50px;
    max-width: 200px;
    height: auto;
    width: auto;
}

.logo-icon {
    font-size: 2rem;
}


.nav-btn {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-btn-admin {
    background: var(--error-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

.navbar-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.navbar-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: color 0.3s;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2c1810 0%, #1a4d2e 50%, #0f2922 100%);
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(transparent 60%, rgba(0, 0, 0, 0.4) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo {
    font-size: 5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-logo-image {
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo-image img {
    filter: drop-shadow(0 10px 30px rgba(168, 85, 247, 0.4));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Hero Status Badge - Now below IP */
.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: white;
    backdrop-filter: blur(10px);
}

.hero-status .status-dot {
    width: 10px;
    height: 10px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-status .status-text {
    font-weight: 600;
}

/* Hero Main Buttons */
.hero-main-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-join {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.4);
    transition: all 0.3s;
}

.btn-join:hover {
    background: linear-gradient(135deg, #9333ea 0%, #0891b2 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.5);
}

.btn-discord {
    background: #5865F2;
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5);
}

.btn-discord svg {
    width: 24px;
    height: 24px;
}

/* Hero Secondary Buttons */
.hero-secondary-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-secondary-action {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary-action .btn-icon {
    font-size: 1.1rem;
}

/* Hero Server IP Display - Modern Design */
.hero-server-ip-container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.server-ip-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.server-ip-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.server-ip-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

.server-ip-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    font-family: 'Courier New', monospace;
    user-select: all;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.server-ip-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.server-ip-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.5);
}

.server-ip-copy-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
}

.server-ip-copy-btn svg {
    width: 18px;
    height: 18px;
}

.server-ip-copied-message {
    font-size: 0.9rem;
    font-weight: 600;
    color: #3BA55D;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.server-ip-copied-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .server-ip-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .server-ip-text {
        font-size: 1.2rem;
    }

    .copy-btn-text {
        display: none;
    }

    .server-ip-copy-btn {
        padding: 0.6rem;
    }
}

/* Server Status Widget */
.server-status-widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: scaleIn 0.6s ease-out 0.5s both;
}

.status-loading {
    text-align: center;
    color: var(--text-secondary);
}

.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.server-status-online {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.status-item {
    display: flex;
    flex-direction: column;
}

.status-label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.status-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.status-online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--success-color);
}

.status-dot {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-offline-indicator {
    color: var(--error-color);
}

.status-offline-indicator .status-dot {
    background: var(--error-color);
    animation: none;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    font-size: 1.3rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.scroll-arrow {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* Sections */
.about-section,
.timeline-section,
.media-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #06b6d4);
    margin: 0 auto;
    border-radius: 2px;
}

.section-header p {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* About Section */
.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Timeline - Vertical */
.timeline-horizontal {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem 0;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #a855f7, #06b6d4);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.timeline-item .timeline-content {
    background: var(--background-secondary);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 4rem);
    transition: all 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-item::after {
    display: none;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-icon {
    font-size: 2rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    border: 4px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.media-card {
    background: var(--background-secondary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container blockquote {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-info {
    padding: 1.5rem;
}

.media-platform {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.media-info h4 {
    color: var(--text-primary);
}

/* Footer - Compact Horizontal Design */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem 0 1.5rem;
    margin-top: 6rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Top Row: Copyright & Email */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: #808080;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-email a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-email a:hover {
    opacity: 0.8;
}

.footer-admin-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--error-color);
    color: white !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-admin-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Middle Row: Legal Links */
.footer-legal {
    text-align: center;
    padding: 0.5rem 0;
}

.footer-legal a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.footer-separator {
    color: #a855f7;
    margin: 0 0.75rem;
}

/* Bottom Row: Credit */
.footer-credit {
    text-align: center;
    color: #808080;
    font-size: 0.9rem;
    padding-top: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Timeline Preview Section */
.timeline-preview-section {
    padding: 6rem 0;
    background: var(--background);
}

.timeline-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.timeline-preview-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: 16px;
    padding: 2.5rem;
    border: 2px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s;
}

.timeline-preview-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.timeline-preview-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.timeline-preview-date {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.timeline-preview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.timeline-preview-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.25rem 2.5rem;
}

/* Theme Toggle - Removed (Dark theme only) */

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }

    .footer-email {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Legal Content Pages */
.legal-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.legal-box {
    background: var(--background-secondary);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: background var(--transition-speed), box-shadow var(--transition-speed);
}

.legal-box h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-box h2:first-child {
    margin-top: 0;
}

.legal-box h3 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.legal-box p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-box ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-box ul li {
    margin-bottom: 0.5rem;
}

.legal-box a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity var(--transition-speed);
}

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

.legal-notice {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.legal-notice p {
    color: var(--text-primary);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 968px) {
    /* Navbar on tablets */
    .nav-container {
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav-container {
        position: relative;
        padding: 0.75rem 1rem;
    }

    .nav-logo {
        font-size: 1.3rem;
        flex: 1;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    /* Show hamburger button on mobile */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile menu wrapper - hidden by default */
    .navbar-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navbar-bg);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    /* Show menu when active */
    .navbar-menu-wrapper.active {
        max-height: 500px;
        opacity: 1;
        padding: 15px 0;
    }

    /* Stack menu items vertically */
    .navbar-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .navbar-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-menu li:last-child {
        border-bottom: none;
    }

    .navbar-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1rem;
        width: 100%;
        transition: background var(--transition-speed);
    }

    .navbar-menu a:hover {
        background: rgba(168, 85, 247, 0.1);
        text-decoration: none;
    }

    /* Button styling in mobile menu */
    .navbar-menu .nav-btn {
        background: var(--primary-color);
        color: white !important;
        margin: 8px 20px;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        width: calc(100% - 40px);
    }

    .navbar-menu .nav-btn:hover {
        background: var(--secondary-color);
    }

    .navbar-menu .nav-btn-admin {
        background: var(--error-color);
        color: white !important;
        margin: 8px 20px;
        padding: 12px 20px;
        border-radius: 8px;
        text-align: center;
        width: calc(100% - 40px);
    }

    .navbar-menu .nav-btn-admin:hover {
        background: #dc2626;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline-horizontal::before {
        left: 40px;
    }

    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding-left: 100px;
    }

    .timeline-item .timeline-content {
        width: 100%;
    }

    .timeline-icon {
        left: 40px;
        transform: translateX(-50%);
    }

    .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    .nav-container {
        padding: 0.6rem 0.75rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }

    .mobile-menu-toggle {
        width: 26px;
        height: 22px;
    }

    .hamburger-line {
        height: 2.5px;
    }

    .navbar-menu a {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .navbar-menu .nav-btn,
    .navbar-menu .nav-btn-admin {
        margin: 6px 15px;
        padding: 10px 15px;
        width: calc(100% - 30px);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}