/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ares Market Color Palette - Deep reds, stone grey, gold, off-black, fire orange */
    --background: #0a0a0a; /* off-black */
    --foreground: #f5f5f5; /* light grey */
    --card: #1a1a1a; /* dark grey */
    --card-foreground: #f5f5f5;
    --primary: #8B0000; /* deep red */
    --primary-foreground: #f5f5f5;
    --secondary: #696969; /* stone grey */
    --secondary-foreground: #f5f5f5;
    --muted: #2a2a2a;
    --muted-foreground: #a0a0a0;
    --accent: #CD853F; /* bronze/gold */
    --accent-foreground: #0a0a0a;
    --destructive: #DC143C; /* spartan red */
    --border: #333333;
    --radius: 0.625rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    min-height: 100vh;
    background: linear-gradient(45deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    background-size: 400% 400%;
    animation: marbleShift 8s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Animations */
@keyframes marbleShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes shieldPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--accent); }
}

/* Utility Classes */
.spartan-glow {
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
}

.shield-glow {
    position: relative;
    overflow: hidden;
}

.shield-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.1) 0%, transparent 70%);
    animation: shieldPulse 6s ease-in-out infinite;
    z-index: 1;
}

.shield-glow > * {
    position: relative;
    z-index: 2;
}

.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--accent);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

/* Navigation */
.terminal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(205, 133, 63, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    height: 5rem;
    width: 150px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    background: none;
    border: none;
    color: var(--muted-foreground);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 2rem;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 4rem 1rem;
}

.alt-bg {
    background: rgba(26, 26, 26, 0.5);
}

.section-container {
    max-width: 96rem;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-card {
    background: var(--card);
    padding: 1rem;
    border-radius: var(--radius);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.about-image .image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.features-section {
    padding: 4rem 1rem;
    background: rgba(26, 26, 26, 0.5);
}

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

.feature-item {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
}

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

.feature-item .feature-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-item .feature-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Mirrors Section */
.mirrors-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.mirrors-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.mirrors-box {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: left;
}

.php-code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--muted);
    border-radius: 4px;
}

.mirrors-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mirror-link {
    color: var(--accent);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    transition: color 0.3s ease;
}

.mirror-link:hover {
    color: var(--primary);
}

/* Ordering Section */
.ordering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.ordering-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: var(--accent);
    color: var(--background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.ordering-image .image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Security Section */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.security-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-feature {
    background: var(--card);
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.security-icon {
    font-size: 1.25rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.security-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.security-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.security-image .image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Crypto Section */
.crypto-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.crypto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.crypto-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.crypto-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.crypto-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.crypto-desc {
    color: var(--muted-foreground);
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.rules-card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.rules-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 1rem;
}

.rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rules-list li {
    color: var(--muted-foreground);
}

/* Mission Section */
.mission-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.mission-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.mission-quote {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.mission-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* FAQ Section */
.faq-container {
    max-width: 64rem;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.faq-question {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-icon {
    color: var(--accent);
}

.faq-answer {
    color: var(--muted-foreground);
}

.faq-image {
    text-align: center;
}

.faq-image .image {
    max-width: 28rem;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 1rem;
    background: rgba(220, 20, 60, 0.1);
    border-top: 4px solid var(--destructive);
}

.disclaimer-container {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.disclaimer-icon {
    color: var(--destructive);
    font-size: 2.5rem;
}

.disclaimer-card {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(220, 20, 60, 0.3);
}

.disclaimer-text {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Footer */
.footer {
    padding: 3rem 1rem;
    background: var(--card);
    border-top: 1px solid rgba(205, 133, 63, 0.3);
}

.footer-container {
    max-width: 96rem;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-tagline {
    color: var(--muted-foreground);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.footer-link {
    background: none;
    border: none;
    color: var(--muted-foreground);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 0.875rem;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .about-grid,
    .ordering-grid,
    .security-grid,
    .crypto-grid,
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .security-grid .security-image {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 2rem 1rem;
    }
    
    .hero-section {
        padding: 4rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

