/**
 * imperiumnikosi.pl - Style
 * 
 * Prosty, ciemny motyw w stylu neocities.
 * Zero korpo napinki, wszystko czytelne i funkcjonalne.
 */

/* ========================================
   Reset & Podstawy
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kolory - ciemny motyw */
    --bg-main: #1a1a1a;
    --bg-secondary: #252525;
    --bg-card: #2a2a2a;
    --bg-hover: #333333;
    
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    --accent: #4a9eff;
    --accent-hover: #6bb0ff;
    --accent-dark: #2e7fd9;
    
    --success: #4ade80;
    --warning: #fbbf24;
    --error: #f87171;
    
    --border: #3a3a3a;
    --shadow: rgba(0, 0, 0, 0.3);
    
    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

body {
    font-family: var(--font-main);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    background: var(--bg-secondary);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--border);
    border-radius: 4px;
}

.logo h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.logo h1 a {
    color: var(--text-primary);
    text-decoration: none;
}

.logo h1 a:hover {
    color: var(--accent);
}

.tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s;
}

.nav a:hover {
    color: var(--accent);
    background: var(--bg-hover);
    border-color: var(--border);
    text-decoration: none;
}

.nav a.active {
    color: var(--accent);
    border-color: var(--accent);
}

/* ========================================
   Content & Sections
   ======================================== */

.content {
    min-height: 60vh;
}

section {
    margin-bottom: 3rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .highlight {
    color: var(--accent);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Feature Boxes
   ======================================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-box {
    background: var(--bg-card);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s;
}

.feature-box:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.feature-box h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* ========================================
   Info Sections
   ======================================== */

.info-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin: 2rem 0;
}

.steps-list {
    list-style: none;
    counter-reset: steps;
}

.steps-list li {
    counter-increment: steps;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    position: relative;
    padding-left: 3rem;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    color: var(--bg-main);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 2px solid var(--accent);
    border-radius: 4px;
    margin: 2rem 0;
}

.cta-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

/* ========================================
   Pricing
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: var(--accent);
    transform: scale(1.02);
}

.plan-name {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-specs {
    margin: 1.5rem 0;
    text-align: left;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    color: var(--text-primary);
    font-weight: bold;
}

.plan-price {
    font-size: 2rem;
    color: var(--accent);
    font-weight: bold;
    margin-top: 1rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: normal;
}

/* Gaming pricing specific */
.discount-badge {
    background: var(--accent);
    color: var(--bg-main);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 2rem;
}

.gaming-card {
    border-color: var(--accent-dark);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    display: block;
}

.new-price {
    color: var(--success);
}

/* ========================================
   Benefits & Lists
   ======================================== */

.benefits-list, .tips-list {
    list-style: none;
    padding: 0;
}

.benefits-list li, .tips-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.tips-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ========================================
   Custom Config Section
   ======================================== */

.custom-config, .pricing-info {
    background: var(--bg-secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin: 2rem 0;
}

/* ========================================
   Games Grid
   ======================================== */

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.game-category {
    background: var(--bg-card);
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.game-category h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.game-category p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   Status Page
   ======================================== */

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.status-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border: 2px solid var(--border);
    border-radius: 4px;
}

.status-card.online {
    border-color: var(--success);
}

.status-card.degraded {
    border-color: var(--warning);
}

.status-card.offline {
    border-color: var(--error);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.dot-green { background: var(--success); }
.dot-yellow { background: var(--warning); }
.dot-red { background: var(--error); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.server-name {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.server-location, .server-uptime {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.server-type {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.server-ping {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.server-metrics {
    margin-top: 0.5rem;
}

.server-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.3rem 0;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--accent);
    font-weight: bold;
}

.server-message {
    margin-top: 1rem;
    padding: 0.5rem;
    background: var(--bg-hover);
    border-left: 3px solid var(--warning);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-info, .status-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.error-message {
    background: var(--bg-card);
    border: 2px solid var(--error);
    border-radius: 4px;
    padding: 1.5rem;
    text-align: center;
}

/* ========================================
   Contact Page
   ======================================== */

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-box {
    background: var(--bg-card);
    padding: 2rem;
    border: 2px solid var(--border);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s;
}

.contact-box:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-box h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-box p {
    margin: 0.5rem 0;
}

.method-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info, .faq-section {
    background: var(--bg-secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin: 2rem 0;
}

.contact-note {
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   Strona regulaminu
   ======================================== */

.terms-page {
    max-width: 900px;
    margin: 0 auto;
}

.terms-page h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.terms-page .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.terms-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.terms-section p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

.terms-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.terms-list {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.8rem 0;
}

.terms-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.terms-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ========================================
   Footer
   ======================================== */

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 2px solid var(--border);
    color: var(--text-secondary);
}

.footer-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-grid,
    .features,
    .games-grid,
    .status-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
}

/* ========================================
   Utilities
   ======================================== */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
