:root {
    --primary-color: #013aa5;
    --primary-dark: #013aa5;
    --primary-light: #013aa5;
    --secondary-color: #013aa5;
    --dark-bg: #0a0a0a;
    --bg-dark: #0a0a0a;
    --light-bg: #171717;
    --card-bg: #013aa5;
    --text-light: #FFFFFF;
    --text-gray: #a3a3a3;
    --text-neutral: #a3a3a3;
    --accent-color: #013aa5;
    --success-color: #013aa5;
    --danger-color: #fc1313;
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #013aa5 0%, #013aa5 100%);
    --gradient-2: linear-gradient(135deg, #013aa5 0%, #013aa5 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.95) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    padding: 1rem 0;
    margin-top: 0;
    display: none; /* Ukryj sekcjÄ logo, bÄdzie w hero */
}

.logo-container {
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
}

.logo-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background: var(--bg-dark);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-logo-link:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

.nav-brand h2 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    border-bottom: none;
    padding-bottom: 0;
    text-shadow: none;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-discord {
    background: var(--primary-color);
    color: #054dac;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-discord:hover {
    background: #f5a803;
    transform: none;
    box-shadow: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.btn-logout {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 0;
    background: var(--bg-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../hero_afterpack_overlay.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.01;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-neutral);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-neutral);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-logo {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.hero-logo-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
    animation: fadeInUp 1s ease-out;
}

.hero-logo .hero-title {
    margin-bottom: 0;
    color: var(--text-light);
    animation: fadeInUp 1.2s ease-out, textGlow 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-logo-img {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .hero-logo-img {
        max-width: 150px;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0.875rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

.btn-primary i {
    font-size: 1.2rem;
}

.btn-primary:has(i) {
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 48px;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
}

.btn-primary:has(i):hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary:not(:has(i)):hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(3, 104, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary i {
    font-size: 1.2rem;
}

.btn-secondary:has(i) {
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 48px;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
}

.btn-secondary:has(i):hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--text-light);
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.features-content-reverse {
    direction: rtl;
}

.features-content-reverse > * {
    direction: ltr;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text p {
    color: var(--text-neutral);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-image {
    min-height: 300px;
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.features-alt {
    padding: 5rem 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: #1f1f1f;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--text-neutral);
    font-size: 1rem;
    font-weight: 400;
}

/* Owners Section */
.owners-section {
    padding: 5rem 0;
    background: var(--bg-dark);
}

.owners-content {
    text-align: center;
}

.owners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.owner-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.owner-gif-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.owner-card:hover .owner-gif-overlay {
    opacity: 1;
    visibility: visible;
}

.owner-gif-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
    border-radius: 0.75rem;
}

.owner-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.owner-avatar,
.owner-info {
    position: relative;
    z-index: 10;
}

.owner-avatar {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.owner-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: none;
    object-fit: cover;
}

.owner-info {
    margin-top: 1rem;
}

.owner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.owner-tag {
    font-size: 0.9rem;
    color: var(--text-neutral);
    margin: 0;
}

.owner-bio {
    font-size: 0.95rem;
    color: var(--text-neutral);
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
    opacity: 0.8;
}

.no-owners {
    color: var(--text-neutral);
    font-size: 1rem;
    padding: 2rem;
}

/* Join Section */
.join {
    padding: 5rem 0;
    background: var(--bg-dark);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.join-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Page Styles */
.page-header {
    text-align: center;
    padding: 4rem 0 3rem;
    margin-top: 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-neutral);
}

/* Applications Page */
.applications-page {
    min-height: 100vh;
    padding: 0;
}

.login-prompt {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
}

.login-prompt-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.login-prompt-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Application Category Selection */
.application-category {
    margin-top: 2rem;
}

.application-category h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Zielona kropka dla otwartych podaĹ */
.category-card::before {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    background: #023f85;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(5, 124, 221, 0.5);
    z-index: 10;
}

/* Czerwona kropka dla zamkniÄtych podaĹ */
.category-card.closed {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(50%);
}

.category-card.closed::before {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.category-card.closed::after {
    content: "ZAMKNIÄTE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    border: 2px solid #ef4444;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.category-card p {
    color: var(--text-neutral);
    font-size: 0.95rem;
}

/* Form Info Box */
.form-info-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(0, 253, 114, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.form-info-box li {
    color: var(--text-neutral);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.form-info-box li:before {
    content: "â˘";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.form-info-box li strong {
    color: var(--text-light);
}

/* Form Header */
.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.form-header h2 {
    color: var(--text-light);
    margin: 0;
}

.btn-back {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-back:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(245, 158, 11, 0.1);
}

.form-placeholder {
    padding: 3rem;
    text-align: center;
    color: var(--text-neutral);
    background: var(--card-bg);
    border-radius: 0.75rem;
    border: 1px dashed var(--border-color);
}

.application-form {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input[type="color"] {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    cursor: pointer;
    border: none !important;
    border-radius: 12px !important;
    background: transparent !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden;
}

.form-group input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border: none;
    border-radius: 12px;
}

.form-group input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 12px;
}

.form-group input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input[readonly] {
    background: rgba(245, 158, 11, 0.1);
    cursor: not-allowed;
}

.form-group small,
.form-hint {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.8;
}

.form-group small a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.application-success {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

/* Rules Page */
.rules-page {
    min-height: 100vh;
    padding: 0;
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Rules Tabs */
.rules-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.tab-button {
    background: transparent;
    border: none;
    color: var(--text-neutral);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.tab-button:hover {
    color: var(--text-light);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rule-section {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rule-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.rule-section ol,
.rule-section ul {
    margin-left: 2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.rule-section li {
    margin-bottom: 0.5rem;
}

.rule-section strong {
    color: var(--text-light);
    font-weight: 600;
}

.rule-section p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.rule-section h3 {
    color: var(--gold-color);
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.rule-section h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.rule-section ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

.rule-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.rule-section ol ol,
.rule-section ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.rule-section ol li,
.rule-section ul li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.rule-section blockquote {
    border-left: 4px solid var(--gold-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-gray);
    font-style: italic;
    background: rgba(255, 215, 0, 0.05);
    padding: 1rem;
    border-radius: 5px;
}

.rule-section code {
    background: rgba(255, 215, 0, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: var(--gold-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.rule-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--dark-bg);
    border-radius: 8px;
    overflow: hidden;
}

.rule-section table th {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--gold-color);
}

.rule-section table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--text-gray);
}

.rule-section table tr:last-child td {
    border-bottom: none;
}

.rule-section table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}

.rules-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
    background: var(--light-bg);
    border-radius: 15px;
    margin-top: 2rem;
}

.rules-footer p {
    margin-bottom: 0.5rem;
}

.rules-footer p:last-child {
    margin-bottom: 0;
}

.rule-section-border {
    border-left: 4px solid var(--gold-color);
    padding-left: 1.5rem;
    margin-left: 0.5rem;
}

.rule-badge {
    display: inline-block;
    background: var(--gold-color);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.rule-warning {
    background: rgba(255, 165, 0, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--text-light);
}

.rule-warning::before {
    content: "â ď¸ ";
    color: #e9b303;
    font-weight: bold;
}

/* Shop Page */
.shop-page {
    min-height: 100vh;
    padding: 0;
}

.shop-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: var(--light-bg);
    color: var(--text-light);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.shop-item {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.shop-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: #1f1f1f;
}

.shop-item-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.shop-item-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.shop-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.shop-item-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 60px;
}

.shop-item-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.shop-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-content-reverse {
        direction: ltr;
    }

    .feature-image {
        min-height: 200px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
