/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ff88;
    --secondary: #00d4ff;
    --gold: #ffd700;
    --dark-bg: #0a0a0f;
    --card-bg: #161620;
    --card-hover: #1e1e2e;
    --border: #333;
    --text-primary: #fff;
    --text-secondary: #aaa;
    --warning: #ff6b6b;
    --success: #51cf66;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.cube {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 255, 136, 0.1);
    animation: float 20s infinite ease-in-out;
}

.cube:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.cube:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 4s;
}

.cube:nth-child(3) {
    top: 30%;
    left: 50%;
    animation-delay: 8s;
}

.cube:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 12s;
}

.cube:nth-child(5) {
    top: 50%;
    left: 70%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-50px) rotate(90deg); }
    50% { transform: translateY(-100px) rotate(180deg); }
    75% { transform: translateY(-50px) rotate(270deg); }
}

/* Header */
.header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.logo-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

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

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

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

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

.btn-back {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.5);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.1), transparent);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(0, 255, 136, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    border-radius: 15px;
}

.date-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.date-value {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Main Content */
.main {
    padding: 4rem 0;
}

/* Rules Section */
.rules-section {
    margin-bottom: 6rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
}

.section-icon {
    font-size: 3rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.rule-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.rule-card:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

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

.rule-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.rule-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.rule-list {
    list-style: none;
}

.rule-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.rule-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.rule-list li:hover {
    color: var(--text-primary);
}

/* Info Box */
.info-box {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-box.warning {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--warning);
}

.info-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.info-box.warning .info-content h4 {
    color: var(--warning);
}

.info-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Punishment System */
.punishment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.punishment-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.punishment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.punishment-level {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.level-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.level-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.level-1 {
    background: linear-gradient(135deg, #51cf66, #37b24d);
}

.level-2 {
    background: linear-gradient(135deg, #ffd43b, #fab005);
}

.level-3 {
    background: linear-gradient(135deg, #ff922b, #fd7e14);
}

.level-4 {
    background: linear-gradient(135deg, #ff6b6b, #f03e3e);
}

.punishment-content {
    padding: 2rem;
}

.punishment-content h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.punishment-content ul {
    list-style: none;
}

.punishment-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.punishment-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
}

/* Severe Violations */
.severe-violations {
    background: rgba(255, 107, 107, 0.1);
    border: 2px solid var(--warning);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
}

.severe-violations h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--warning);
    text-align: center;
}

.severe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.severe-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.severe-item:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--warning);
    transform: scale(1.05);
}

.severe-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.severe-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Appeals Section */
.appeals-section {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.appeals-container h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-align: center;
}

.appeals-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.appeals-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.appeal-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.appeal-step p {
    font-weight: 600;
    color: var(--text-primary);
}

.appeals-note {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.appeals-note strong {
    color: var(--gold);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    margin-bottom: 3rem;
}

.contact-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

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

.contact-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

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

.contact-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 2px solid var(--primary);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
}

.footer-note {
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .rules-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .rules-grid,
    .punishment-grid,
    .contact-grid,
    .severe-grid,
    .appeals-steps {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.5);
}

/* Taryfikator Tables */
.tariff-section {
    margin-top: 3rem;
    background: rgba(0, 255, 136, 0.05);
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 2rem;
}

.tariff-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.tariff-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tariff-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    transition: all 0.3s;
}

.tariff-row:hover:not(.tariff-header) {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateX(5px);
}

.tariff-row.tariff-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
}

.tariff-row.severe {
    border-color: var(--warning);
    background: rgba(255, 107, 107, 0.05);
}

.tariff-row.severe:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--warning);
}

.tariff-cell {
    display: flex;
    align-items: center;
}

.tariff-cell strong {
    color: var(--warning);
    font-weight: 700;
}

/* Admin Rules */
.admin-rules-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 255, 136, 0.05));
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-rules-box h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-rule {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.admin-rule:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--secondary);
    transform: scale(1.02);
}

.admin-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--secondary);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.admin-rule p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
