/* EVE Online Dark Theme Styles */

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

:root {
    --eve-dark: #0a0e1a;
    --eve-darker: #050810;
    --eve-blue: #00d4ff;
    --eve-cyan: #00ffff;
    --eve-light-blue: #4da6ff;
    --eve-white: #e0e0e0;
    --eve-grey: #8a8a8a;
    --eve-glow: rgba(0, 212, 255, 0.5);
    --eve-glow-strong: rgba(0, 212, 255, 0.8);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--eve-darker);
    color: var(--eve-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Starfield Background */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><circle cx="20" cy="20" r="1" fill="white" opacity="0.8"/><circle cx="50" cy="30" r="0.5" fill="white" opacity="0.6"/><circle cx="80" cy="10" r="1" fill="white" opacity="0.7"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.5"/><circle cx="90" cy="70" r="1" fill="white" opacity="0.8"/><circle cx="30" cy="90" r="0.5" fill="white" opacity="0.6"/></svg>') repeat;
    animation: animateStars 50s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150"><circle cx="40" cy="40" r="1" fill="%2300d4ff" opacity="0.6"/><circle cx="100" cy="60" r="0.5" fill="%2300d4ff" opacity="0.4"/><circle cx="20" cy="100" r="1" fill="%2300d4ff" opacity="0.5"/><circle cx="120" cy="20" r="0.5" fill="%2300d4ff" opacity="0.6"/></svg>') repeat;
    animation: animateStars 100s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><circle cx="60" cy="60" r="1.5" fill="%2300ffff" opacity="0.4"/><circle cx="150" cy="90" r="1" fill="%2300ffff" opacity="0.3"/><circle cx="30" cy="150" r="1.5" fill="%2300ffff" opacity="0.5"/></svg>') repeat;
    animation: animateStars 150s linear infinite;
}

@keyframes animateStars {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-2000px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--eve-blue);
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--eve-cyan);
    text-decoration: none;
    text-shadow: 0 0 10px var(--eve-glow);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    text-shadow: 0 0 20px var(--eve-glow-strong);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--eve-white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--eve-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Main Content */
main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

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

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 4rem 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.glow-text {
    display: block;
    color: var(--eve-white);
    text-shadow: 
        0 0 10px var(--eve-glow),
        0 0 20px var(--eve-glow),
        0 0 30px var(--eve-glow);
    animation: pulse 2s ease-in-out infinite;
}

.glow-text.accent {
    color: var(--eve-cyan);
    text-shadow: 
        0 0 10px var(--eve-glow-strong),
        0 0 20px var(--eve-glow-strong),
        0 0 30px var(--eve-glow-strong),
        0 0 40px var(--eve-glow-strong);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--eve-light-blue);
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hero-image {
    margin-top: 3rem;
    animation: float 6s ease-in-out infinite;
}

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

.ess-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--eve-glow));
}

/* Section Styles */
section {
    padding: 4rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: var(--eve-cyan);
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px var(--eve-glow);
}

/* Configuration Section */
.config-section {
    background: rgba(0, 212, 255, 0.05);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.config-box {
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--eve-blue);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.config-item:last-child {
    border-bottom: none;
}

.config-label {
    color: var(--eve-grey);
    font-size: 1.1rem;
}

.config-value {
    color: var(--eve-white);
    font-size: 1.1rem;
    font-weight: bold;
}

.config-link {
    color: var(--eve-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.config-link:hover {
    color: var(--eve-blue);
    text-shadow: 0 0 10px var(--eve-glow);
}

/* Countdown Section */
.countdown-section {
    background: rgba(0, 0, 0, 0.3);
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    background: rgba(10, 14, 26, 0.9);
    border: 2px solid var(--eve-blue);
    border-radius: 10px;
    padding: 2rem;
    min-width: 120px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.countdown-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--eve-cyan);
    text-shadow: 0 0 15px var(--eve-glow);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    color: var(--eve-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-status {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
    color: var(--eve-light-blue);
}

/* Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card {
    background: rgba(10, 14, 26, 0.8);
    border: 1px solid var(--eve-blue);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    border-color: var(--eve-cyan);
}

.detail-card h3 {
    color: var(--eve-cyan);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-card p {
    color: var(--eve-white);
    line-height: 1.8;
}

.detail-card ul {
    list-style: none;
    padding-left: 0;
}

.detail-card li {
    color: var(--eve-white);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.detail-card li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--eve-blue);
}

/* Registered Teams Section */
.teams-section {
    background: rgba(0, 212, 255, 0.05);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.teams-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--eve-blue);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    border-color: var(--eve-cyan);
}

.team-name {
    color: var(--eve-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.team-members {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-label {
    color: var(--eve-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-value {
    color: var(--eve-white);
    font-size: 1rem;
    line-height: 1.6;
}

.loading-text, .no-teams {
    text-align: center;
    color: var(--eve-grey);
    font-size: 1.2rem;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--eve-white);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--eve-blue), var(--eve-cyan));
    color: var(--eve-darker);
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

/* Footer */
.footer {
    background: rgba(5, 8, 16, 0.9);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    padding: 2rem 0;
    text-align: center;
    color: var(--eve-grey);
    margin-top: 4rem;
}

/* Hall of Fame Styles */
.hof-hero {
    text-align: center;
    padding: 6rem 0 4rem;
}

.hof-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hof-subtitle {
    font-size: 1.5rem;
    color: var(--eve-light-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hof-section {
    padding: 2rem 0 4rem;
}

.hof-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sort-label {
    color: var(--eve-white);
    font-size: 1.1rem;
    font-weight: bold;
}

.sort-select {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--eve-blue);
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    color: var(--eve-white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%2300d4ff" d="M6 9L1 4h10z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.sort-select:hover {
    border-color: var(--eve-cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.sort-select:focus {
    outline: none;
    border-color: var(--eve-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.hof-entries {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hof-card {
    background: rgba(10, 14, 26, 0.9);
    border: 2px solid var(--eve-blue);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.hof-card:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    border-color: var(--eve-cyan);
}

.hof-card-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    padding-left: 60px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.hof-date {
    color: var(--eve-grey);
    font-size: 1rem;
}

.hof-card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hof-team-name {
    font-size: 1.8rem;
    color: var(--eve-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.hof-participants, .hof-amount {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hof-label {
    color: var(--eve-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hof-value {
    color: var(--eve-white);
    font-size: 1.1rem;
}

.isk-value {
    color: var(--eve-cyan);
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px var(--eve-glow);
}

.hof-crown {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 3rem;
    animation: rotate 3s linear infinite;
    z-index: 10;
}

@keyframes rotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

.error-message, .no-entries {
    text-align: center;
    color: var(--eve-grey);
    font-size: 1.2rem;
    padding: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1.5rem;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hof-title {
        font-size: 2.5rem;
    }
    
    .hof-controls {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .sort-select {
        width: 100%;
        max-width: 300px;
    }
    
    .config-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

