/* Design System - CSS Variables */
:root {
    /* Colors */
    --primary-color: #ff6b6b;
    --primary-hover: #ff4757;
    --secondary-color: #4a90e2;
    --success-color: #00ff88;
    --warning-color: #ffc107;
    --error-color: #ff6b6b;
    --info-color: #667eea;

    /* Background colors */
    --bg-primary: #151211;
    --bg-secondary: rgba(0, 0, 0, 0.7);
    --bg-tertiary: rgba(0, 0, 0, 0.9);
    --bg-overlay: rgba(255, 255, 255, 0.05);
    --bg-overlay-hover: rgba(255, 255, 255, 0.08);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --text-inverse: #000000;

    /* Border colors */
    --border-primary: var(--primary-color);
    --border-secondary: rgba(255, 255, 255, 0.2);
    --border-tertiary: rgba(255, 255, 255, 0.1);
    --border-muted: #333333;

    /* Spacing scale */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;

    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 25px rgba(255, 107, 107, 0.4);

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Capriola', sans-serif;
    --font-monospace: monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset i podstawowe style */

/* Font Awesome icons */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-kit, .fa-brands {
    display: inline-block;
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fix any display issues with Font Awesome */
i.fas, i.far, i.fab, i.fa-solid, i.fa-regular, i.fa-light, i.fa-thin, i.fa-duotone, i.fa-kit, i.fa-brands {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
}

/* Ensure Font Awesome icons are visible */
.vote-icon, .vote-icon-primary, .vote-icon-success,
.payment-method-icon, .payment-method-icon.bitcoin, .payment-method-icon.cryptovoucher,
.payment-method-icon.paysafecard, .payment-method-icon.creditcard, .payment-method-icon.banktransfer,
.info-feature-icon, .info-feature-icon.primary, .info-feature-icon.info, .info-feature-icon.success,
.security-icon, .vote-coins-icon, .vote-coins-icon, .payment-method-icon img {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.vote-icon i, .vote-icon-primary i, .vote-icon-success i,
.payment-method-icon i, .payment-method-icon.bitcoin i, .payment-method-icon.cryptovoucher i,
.payment-method-icon.paysafecard i, .payment-method-icon.creditcard i, .payment-method-icon.banktransfer i,
.info-feature-icon i, .info-feature-icon.primary i, .info-feature-icon.info i, .info-feature-icon.success i,
.security-icon i, .vote-coins-icon i, .vote-coins-icon i, .payment-method-icon img i {
    font-size: inherit !important;
}

/* Ensure icon fonts are loaded */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-light, .fa-thin, .fa-duotone, .fa-kit, .fa-brands {
    font-family: "Font Awesome 6 Free" !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
}
body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

/* Layout utilities */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.page-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.page-title {
    font-family: var(--font-secondary);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.page-title i {
    color: var(--primary-color);
}

.page-description {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.gradient-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: var(--spacing-xl) auto;
}

/* Card component */
.card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    backdrop-filter: blur(10px);
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    margin-bottom: var(--spacing-xl);
}

.card-title {
    font-family: var(--font-secondary);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.card-title i {
    color: var(--primary-color);
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Button component system */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    text-decoration: none;
    color: inherit;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: var(--text-inverse);
}

.btn-secondary {
    background: var(--bg-overlay);
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-inverse);
}

.btn-success {
    background: linear-gradient(45deg, var(--success-color), #00cc6a);
    color: var(--text-inverse);
}

.btn-icon {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--text-base);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--text-xl);
}

/* Badge component */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
}

.badge-success {
    background: rgba(0, 255, 136, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge-error {
    background: rgba(255, 107, 107, 0.2);
    color: var(--error-color);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.badge-info {
    background: rgba(102, 126, 234, 0.2);
    color: var(--info-color);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.badge-muted {
    background: rgba(108, 117, 125, 0.2);
    color: var(--text-muted);
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Icon component */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-primary {
    color: var(--primary-color);
}

.icon-success {
    color: var(--success-color);
}

.icon-warning {
    color: var(--warning-color);
}

.icon-error {
    color: var(--error-color);
}

.icon-muted {
    color: var(--text-muted);
}

/* Form components */
.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: var(--text-base);
}

.form-input {
    background: var(--bg-overlay);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-md);
    padding: 15px;
    color: var(--text-primary);
    font-size: var(--text-base);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Table component */
.table-container {
    background: var(--bg-secondary);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.table th {
    background: rgba(255, 107, 107, 0.2);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: left;
    font-weight: 600;
    font-size: var(--text-base);
    border-bottom: 2px solid var(--primary-color);
    font-family: var(--font-secondary);
}

.table td {
    padding: var(--spacing-lg) var(--spacing-md);
    border-bottom: 1px solid var(--border-tertiary);
    vertical-align: middle;
}

.table-row:hover {
    background: rgba(255, 107, 107, 0.1);
}

.table-row:last-child td {
    border-bottom: none;
}

/* Grid system */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-auto-fill {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Spacing utilities */
.m-0 { margin: 0; }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Responsive utilities */
@media (max-width: 768px) {
    .page-container {
        padding: var(--spacing-md);
    }

    .page-title {
        font-size: var(--text-3xl);
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .card {
        padding: var(--spacing-xl);
    }

    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--text-base);
    }

    .table th,
    .table td {
        padding: var(--spacing-md) var(--spacing-sm);
        font-size: var(--text-sm);
    }

    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Tło obrazowe */
.background-stage {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/home-bg.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.wrapper {
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(21, 18, 17, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
}

.mt-brand {
    width: 160px;
    height: 45px;
    margin: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.mt-brand::before {
    content: 'MT2009';
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nawigacja */
.navbar {
    background: transparent !important;
    padding: 5px 0;
    height: 80px;
}

/* Language selector */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 8px 15px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    min-width: 100px;
    justify-content: space-between;
}

.language-dropdown:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff6b6b;
}

.language-dropdown.active {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.language-flag {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.language-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: rgba(21, 18, 17, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 120px;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
}

.language-menu.show {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #fff;
}

.language-option.active {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.language-option .language-flag {
    font-size: 1.1rem;
}

.language-option .language-name {
    flex: 1;
    font-size: 0.9rem;
}

/* Mobile language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
    }

    .language-dropdown {
        min-width: 80px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .language-flag {
        font-size: 0.9rem;
        width: 18px;
    }

    .language-arrow {
        font-size: 0.6rem;
    }

    .language-menu {
        min-width: 110px;
        right: -10px;
    }

    .language-option {
        padding: 8px 12px;
    }

    .language-option .language-name {
        font-size: 0.8rem;
    }
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 8px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 5px 10px !important;
}

.navbar-nav .nav-link:hover {
    color: #ff6b6b !important;
}

.nav-selected {
    color: #ff6b6b !important;
    font-weight: 600;
}

/* Nawigacja mobilna */
.mobile-navbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(21, 18, 17, 0.98) 0%, rgba(0, 0, 0, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 2000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

/* Logo brand (obecnie nieużywane w mobile navbar) */
.mobile-navbar .mt-brand {
    margin-top: 60px;
    margin-bottom: 30px;
}

.navbar-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-close-button:hover {
    background: #ff6b6b;
    transform: rotate(90deg);
}

.mobile-navbar-content {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 80px;
    padding-bottom: 40px;
}

.mobile-navbar-special {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 107, 107, 0.3);
}

.mobile-navbar-special a {
    flex: 1;
    min-width: calc(50% - 5px);
    max-width: calc(50% - 5px);
}

.mobile-navbar-content > a {
    width: 100%;
}

.mobile-navbar-button {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    text-align: center;
    white-space: nowrap;
}

.mobile-navbar-button:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Główna zawartość */
.content {
    margin-top: 80px;
    position: relative;
}

.intro {
    padding: 60px 0;
}

.header-space {
    min-height: 400px;
}

.robert {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-box {
    background: rgba(21, 18, 17, 0.9);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    position: relative;
}

.event-board {
    text-align: center;
    margin-bottom: 30px;
}

.event-board h1 {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Capriola', sans-serif;
}

.event-board p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
}

.event-board h3 {
    color: #ffd700;
    margin: 20px 0;
    font-size: 1.3rem;
}

.header-button-holder {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.register-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.register-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.download-button {
    background: transparent;
    color: #fff;
    border: 2px solid #ff6b6b;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #ff6b6b;
    color: #000;
}

.social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social a:hover {
    color: #ff6b6b;
}

/* Tytuły i gradienty */
.title-text {
    color: #fff;
    font-weight: 600;
    font-family: 'Capriola', sans-serif;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.gradient-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
    margin: 0 auto 40px;
}

/* Sekcja wideo */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    background: rgba(21, 18, 17, 0.9);
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.video-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-item h2, .video-item h3 {
    color: #fff;
    padding: 15px;
    margin: 0;
}

.video-item p {
    color: #ccc;
    padding: 0 15px 15px;
    margin: 0;
}

.featured {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
}

.featured img {
    height: 360px;
}

/* Discord widget przyklejony do prawej */
.discord-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 280px;
    background: rgba(21, 18, 17, 0.95);
    border: 2px solid #5865f2;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.4);
    z-index: 900;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.discord-widget.minimized {
    width: 60px;
    height: 60px;
    overflow: hidden;
}

.discord-widget.minimized .discord-header {
    padding: 10px;
    border-bottom: none;
}

.discord-widget.minimized .discord-logo {
    width: 40px;
    height: 40px;
    margin: 0;
}

.discord-widget.minimized .discord-title,
.discord-widget.minimized .member-stats,
.discord-widget.minimized .discord-body {
    display: none;
}

.discord-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(88, 101, 242, 0.8);
    border: 1px solid #5865f2;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.discord-close:hover {
    background: rgba(255, 107, 107, 0.9);
    border-color: #ff6b6b;
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(255, 107, 107, 0.5);
}

.discord-widget.minimized .discord-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
    top: 5px;
    right: 5px;
    background: rgba(88, 101, 242, 0.9);
    border: 2px solid #5865f2;
}

.discord-widget.minimized .discord-close:hover {
    background: rgba(255, 107, 107, 0.9);
    border-color: #ff6b6b;
}

.discord-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.6);
}

.discord-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(88, 101, 242, 0.2);
}

.discord-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-image: url('../images/dcav.jpg');
    background-position: center;
    background-size: cover;
    margin: 0 auto 15px;
}

.discord-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: 'Capriola', sans-serif;
}

.member-stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.member-count {
    background: rgba(88, 101, 242, 0.2);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.discord-body {
    padding: 20px;
    text-align: center;
}

.discord-description {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.discord-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #5865f2, #7289da);
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.discord-join-btn:hover {
    background: linear-gradient(45deg, #7289da, #99aaff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.invite-header {
    text-align: center;
    margin-bottom: 20px;
}

.invite-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
    background-image: url('../images/dcav.jpg');
    background-position: center;
    background-size: cover;
}

.invite-title {
    font-size: 24px;
    margin: 0;
    color: #fff;
}

.status-indicator {
    display: inline-block;
    margin-right: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.online {
    background-color: #3ba55d;
}

.offline {
    background-color: #747f8d;
}

.member-count {
    background: rgba(88, 101, 242, 0.15);
    color: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

.terms {
    color: #888;
    font-size: 12px;
    margin-bottom: 20px;
}

.continue-btn {
    width: 100%;
    padding: 10px;
    background-color: #516dd2;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.continue-btn:hover {
    background-color: #738ce6;
}

.discord-icon {
    font-size: 24px;
    position: absolute;
    opacity: 0.4;
    color: white;
    margin-top: -15px;
    margin-left: -10px;
}

/* Content items */
.content-item {
    background: transparent;
    border: none;
    border-radius: 15px;
    margin: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.content-item-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.content-item-abs-background {
    position: absolute;
    z-index: 0;
    object-fit: contain;
    pointer-events: none;
}

.content-item-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 60%;
    overflow: hidden;
}

.content-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.content-item:hover .content-item-image img {
    transform: scale(1.05);
}

.content-item-text {
    position: relative;
    z-index: 2;
    margin-top: -20px;
    padding: 25px 20px 50px;
    background: rgba(21, 18, 17, 0.95);
    backdrop-filter: blur(5px);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content-item-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Specjalne style dla mniejszych elementów */
.content-item-small .content-item-text {
    padding: 20px 18px 60px;
}

.content-item-small .content-item-text p {
    font-size: 0.85rem;
    line-height: 1.3;
}

.content-item-small {
    width: 350px;
    height: 520px;
}

.content-item-med {
    width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.content-item-big {
    width: 1040px;
    height: 500px;
    display: flex;
    align-items: center;
}

.content-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.mega_top_margin {
    margin-top: 100px;
}

.gradient-left {
    background: linear-gradient(90deg, rgba(21,18,17,0.95) 0%, rgba(21,18,17,0.7) 100%);
}

.gradient-left-low {
    background: linear-gradient(90deg, rgba(21,18,17,0.8) 0%, rgba(21,18,17,0.5) 100%);
}

/* Ranking */
.rank-container {
    max-width: 1600px;
    margin: 0 auto;
}

.rank-mini {
    background: rgba(21, 18, 17, 0.9);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    min-width: 300px;
}

.rank-mini table {
    width: 100%;
    color: #fff;
}

.rank-mini td {
    padding: 8px;
    text-align: center;
}

.mini-rank-1 {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    font-weight: bold;
}

.mini-rank-2 {
    background: rgba(192, 192, 192, 0.2);
    color: #c0c0c0;
    font-weight: bold;
}

.mini-rank-3 {
    background: rgba(205, 127, 50, 0.2);
    color: #cd7f32;
    font-weight: bold;
}

.mini-rank-4, .mini-rank-5 {
    color: #fff;
    font-weight: 600;
}

.mini-rank-other {
    color: #ccc;
}

.rank-mini-last {
    border-bottom: 1px solid #333;
}

.rank-mini-button {
    display: block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff6b6b;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.rank-mini-button:hover {
    background: #ff4757;
    color: #fff;
}

/* Login page styles */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 50px;
}

.login-container {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 50px;
    max-width: 550px;
    width: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #ff6b6b;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Capriola', sans-serif;
}

.login-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.form-group input::placeholder {
    color: #888;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #ccc;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #ff6b6b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #ff4757;
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.terms-checkbox input {
    margin: 0;
    margin-top: 2px;
}

.terms-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    color: #ff4757;
    text-decoration: underline;
}

/* CAPTCHA styles */
.captcha-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.captcha-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.captcha-header i {
    color: #ff6b6b;
    font-size: 1.2rem;
}

.captcha-header h4 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
}

.captcha-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
}

/* Cloudflare Turnstile styles */
.cf-turnstile {
    width: 100%;
    max-width: 300px;
}

.cf-turnstile iframe {
    border-radius: 8px;
    background: rgba(21, 18, 17, 0.9) !important;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    background: rgba(0, 0, 0, 0.9);
    padding: 0 20px;
    color: #888;
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p {
    color: #ccc;
    margin-bottom: 10px;
}

.register-link a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #ff4757;
    text-decoration: underline;
}

.server-status {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #333;
}

.server-status-text {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.server-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3ba55d;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 165, 93, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0); }
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.success-message {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #333;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-btn.steam:hover {
    border-color: #1b2838;
    background: #1b2838;
}

.social-btn.discord:hover {
    border-color: #5865f2;
    background: #5865f2;
}

/* Footer */
.footer {
    background: rgba(21, 18, 17, 0.95);
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid #333;
}

.footer a {
    color: #ff6b6b;
    text-decoration: none;
    margin: 0 15px;
}

.footer a:hover {
    color: #ff4757;
}

.copyright {
    color: #666;
    margin-top: 15px;
}

/* Overlay */
.home-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(21,18,17,0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
    .intro-box {
        margin: 20px;
        padding: 30px 20px;
    }

    .header-button-holder {
        flex-direction: column;
        gap: 15px;
    }

    .content-item-small,
    .content-item-med,
    .content-item-big {
        width: 100%;
        height: auto;
        min-height: 300px;
    }

    .content-item-content {
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .rank-mini {
        margin: 10px;
        min-width: 250px;
    }

    /* Ukryj desktop navbar na mobile */
    .navbar-collapse {
        display: none !important;
    }

    /* Pokaż przycisk togglera na mobile */
    .navbar-toggler {
        display: block !important;
    }

    .mobile-navbar {
        display: none;
    }

    .mobile-navbar.active {
        display: flex;
    }

    /* Discord widget responsywny */
    .discord-widget {
        bottom: 20px;
        right: 20px;
        width: 250px;
    }

    .discord-title {
        font-size: 1.1rem;
    }

    .member-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .discord-widget {
        bottom: 15px;
        right: 15px;
        width: 220px;
    }
}

/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-item,
.video-item,
.rank-mini {
    animation: fadeInUp 0.6s ease-out;
}

/* Przycisk mobilny */
.navbar-toggler {
    border: 1px solid #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 107, 107, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
}

/* Ranking Page Styles */
.ranking-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ranking-header {
    text-align: center;
    margin-bottom: 40px;
}

.ranking-header h1 {
    color: #ff6b6b;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Capriola', sans-serif;
}

/* Ranking Tabs */
.ranking-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.ranking-tab {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid transparent;
    color: #fff;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ranking-tab:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
}

.ranking-tab.active {
    background: #ff6b6b;
    color: #000;
    border-color: #ff6b6b;
}

/* Statistics Cards */
.ranking-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.stat-label {
    color: #ccc;
    font-size: 1rem;
}

/* Filters */
.ranking-filters {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    color: #fff;
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    min-width: 150px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
}

/* Fix dropdown options background */
.filter-group select option {
    background: #151211;
    color: #fff;
    padding: 8px 15px;
}

.search-box input {
    min-width: 200px;
}

.filter-button {
    background: #ff6b6b;
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-button:hover {
    background: #ff4757;
    transform: translateY(-2px);
}

/* Ranking Table */
.ranking-content {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.ranking-table th {
    background: rgba(255, 107, 107, 0.2);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ff6b6b;
}

.ranking-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-table tr:hover {
    background: rgba(255, 107, 107, 0.1);
}

.rank-number {
    font-weight: bold;
    font-size: 1.2rem;
}

.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }

.player-name {
    font-weight: 600;
}

.level-badge {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    border-radius: 15px;
    padding: 4px 12px;
    font-weight: 600;
}

.guild-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.member-count {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid #5865f2;
    border-radius: 15px;
    padding: 4px 12px;
}

.guild-leader {
    color: #ccc;
}

.empire {
    font-size: 0.9rem;
}

.empire.red { color: #ff6b6b; }
.empire.yellow { color: #ffd700; }
.empire.blue { color: #4a90e2; }

/* Pagination - direct targeting of Tailwind structure */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Hide unnecessary elements */
.pagination p,
.pagination .text-sm {
    display: none !important;
}

/* Hide Previous/Next text buttons (keep only arrow buttons) */
.pagination .flex.justify-between.flex-1,
.pagination .sm\:hidden {
    display: none !important;
}

.pagination .hidden {
    display: flex !important;
}

/* Reset all containers */
.pagination nav,
.pagination > div,
.pagination .flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 5px !important;
}

/* Target ALL elements with their specific classes */
.pagination [class*="relative"] {
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid #444 !important;
    border-radius: 5px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    position: relative !important;
}

/* Override all specific Tailwind classes */
.pagination .bg-white,
.pagination .dark\\:bg-gray-800 {
    background: rgba(0, 0, 0, 0.7) !important;
}

/* Force white text for ALL pagination elements */
.pagination * {
    color: #fff !important;
}

.pagination .text-gray-700,
.pagination .text-gray-500,
.pagination .dark\\:text-gray-400,
.pagination .dark\\:text-gray-300,
.pagination .dark\\:text-gray-600 {
    color: #fff !important;
}

.pagination .border-gray-300,
.pagination .dark\\:border-gray-600 {
    border-color: #444 !important;
}

.pagination .px-4,
.pagination .px-2,
.pagination .py-2 {
    padding: 8px 12px !important;
}

/* Make all inline elements visible */
.pagination .inline-flex {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* SVG sizing */
.pagination .w-5,
.pagination .h-5 {
    width: 16px !important;
    height: 16px !important;
}

/* Active page - target the specific structure */
.pagination [aria-current="page"] {
    background: #ff6b6b !important;
    border-color: #ff6b6b !important;
}

.pagination [aria-current="page"] * {
    color: #fff !important;
}

/* Links */
.pagination a {
    text-decoration: none !important;
    color: #fff !important;
}

.pagination a:hover * {
    color: #fff !important;
}

.pagination a:hover {
    background: rgba(255, 107, 107, 0.3) !important;
    border-color: #ff6b6b !important;
}

/* Disabled elements */
.pagination [aria-disabled="true"] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Remove shadows */
.pagination .shadow-sm {
    box-shadow: none !important;
}

/* Reset margins and negative margins */
.pagination [class*="-ml-"] {
    margin-left: 0 !important;
}

/* Force display of all content */
.pagination * {
    box-sizing: border-box !important;
}

/* Make sure text is visible inside nested spans */
.pagination span span {
    display: block !important;
    color: #fff !important;
}

.pagination [aria-current="page"] span span {
    color: #fff !important;
}

/* Custom Ranking Pagination */
.ranking-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-info {
    color: #888;
    font-size: 0.9rem;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: #ff6b6b;
    color: #fff;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
    font-weight: 600;
}

.pagination-btn i {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .ranking-pagination {
        padding: 20px 15px;
    }

    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .pagination-info {
        font-size: 0.85rem;
        text-align: center;
    }
}

/* Download Page Styles */
.download-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.download-header h1 {
    color: #ff6b6b;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Capriola', sans-serif;
}

.lead {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Section Titles */
.section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Capriola', sans-serif;
}

.section-title i {
    color: #ff6b6b;
}

/* Instructions */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.instruction-step {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.instruction-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ff6b6b;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-content p {
    color: #ccc;
    line-height: 1.6;
}

/* Download Cards */
.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.download-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-icon {
    text-align: center;
    margin-bottom: 20px;
}

.download-icon i {
    font-size: 3rem;
    color: #ff6b6b;
}

.download-info h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.version, .size {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.download-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.download-button:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.main-download {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.requirement-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.requirement-card h3 {
    color: #ff6b6b;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

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

.requirement-card li {
    color: #ccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirement-card li:last-child {
    border-bottom: none;
}

.requirement-card li::before {
    content: "▸ ";
    color: #ff6b6b;
    font-weight: bold;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 40px;
}

.back-link a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-link a:hover {
    color: #ff4757;
}

/* Dashboard Styles */
.dashboard-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: 50px;
}

.dashboard-header h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

/* Dashboard Tabs */
.dashboard-tabs {
    margin-bottom: 40px;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 8px;
    backdrop-filter: blur(10px);
}

.tab-button {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    flex: 1;
    max-width: 200px;
}

.tab-button:hover {
    background: rgba(255, 107, 107, 0.1);
    color: #fff;
}

.tab-button.active {
    background: #ff6b6b;
    color: #000;
}

/* Tab Panels */
.tab-panel {
    display: none;
    animation: fadeInUp 0.3s ease-out;
}

.tab-panel.active {
    display: block;
}

/* Account Info Panel */
.account-info-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.section-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: 'Capriola', sans-serif;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.info-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
}

.info-label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.cash-value {
    color: #ff6b6b;
    font-size: 1.3rem;
    font-weight: bold;
}

/* Settings Grid */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.settings-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.settings-card:hover {
    transform: translateY(-5px);
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.form-input::placeholder {
    color: #888;
}

.submit-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

/* Whitelist Panel */
.whitelist-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.panel-description {
    color: #ccc;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.device-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.device-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.device-item:hover {
    transform: translateY(-3px);
}

.device-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.device-info {
    flex: 1;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
    border-bottom: none;
}

.device-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.device-status.approved {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
}

.device-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.ban-reason {
    color: #ff6b6b;
    font-size: 0.9rem;
}

.device-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 100px;
}

.action-button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.action-button.confirm {
    background: #00ff88;
    color: #000;
}

.action-button.confirm:hover {
    background: #00cc6a;
    transform: translateY(-1px);
}

.action-button.remove {
    background: #ff6b6b;
    color: #fff;
}

.action-button.remove:hover {
    background: #ff4757;
    transform: translateY(-1px);
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
    font-size: 1.1rem;
}

/* Notes Panel */
.notes-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.notes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notes-list li {
    color: #ccc;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

.notes-list li:last-child {
    border-bottom: none;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-page {
        padding: 100px 10px 50px;
    }

    .dashboard-header h1 {
        font-size: 2rem;
    }

    .tab-navigation {
        flex-direction: column;
        gap: 5px;
    }

    .tab-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .account-info-panel,
    .settings-card,
    .whitelist-panel,
    .notes-panel {
        padding: 20px;
    }

    .device-content {
        flex-direction: column;
        gap: 15px;
    }

    .device-actions {
        flex-direction: row;
        justify-content: center;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .tab-button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Vote Page Styles */
.vote-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.vote-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vote-header {
    margin-bottom: 60px;
}

.vote-header h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.vote-header h1 i {
    margin-right: 15px;
    color: #ff6b6b;
}

.vote-description {
    color: #ccc;
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Vote Steps Grid */
.vote-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.vote-step-card {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.vote-step-card:hover {
    transform: translateY(-5px);
}

.vote-step-header {
    text-align: center;
    margin-bottom: 30px;
}

.vote-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.vote-icon-primary {
    background: #ff6b6b;
    color: #000;
}

.vote-icon-success {
    background: #00ff88;
    color: #000;
}

.vote-step-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Capriola', sans-serif;
}

.vote-step-description {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.vote-step-content {
    text-align: center;
}

.vote-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.vote-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 200px;
}

.vote-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.vote-button.primary {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
}

.vote-button.success {
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
}

.vote-button.disabled {
    background: #333;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.vote-button.disabled:hover {
    transform: none;
    box-shadow: none;
}

.vote-button.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.vote-note {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

.vote-status-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid;
}

.vote-status-message.success {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
}

.vote-status-message.error {
    background: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
}

.vote-status-message.hidden {
    display: none;
}

.vote-status-text {
    font-weight: 600;
    font-size: 1rem;
}

.vote-status-text.success {
    color: #00ff88;
}

.vote-status-text.error {
    color: #ff6b6b;
}

/* Information Panel */
.vote-info-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.vote-info-panel h3 {
    margin-bottom: 40px;
}

.vote-info-panel h3 i {
    margin-right: 10px;
    color: #ff6b6b;
}

.info-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-feature {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.info-feature:hover {
    transform: translateY(-3px);
}

.info-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.info-feature-icon.primary {
    background: #ff6b6b;
    color: #000;
}

.info-feature-icon.info {
    background: #4a90e2;
    color: #fff;
}

.info-feature-icon.success {
    background: #00ff88;
    color: #000;
}

.info-feature-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Capriola', sans-serif;
}

.info-feature-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.5;
}

/* VCoins Status Panel */
.vote-coins-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.vote-coins-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.vote-coins-icon {
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.vote-coins-info {
    text-align: left;
}

.vote-coins-label {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 5px;
}

.vote-coins-value {
    color: #ff6b6b;
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Capriola', sans-serif;
}

/* Responsive Vote Page */
@media (max-width: 768px) {
    .vote-page {
        padding: 100px 10px 50px;
    }

    .vote-header h1 {
        font-size: 2.5rem;
    }

    .vote-description {
        font-size: 1.1rem;
    }

    .vote-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vote-step-card {
        padding: 30px 20px;
    }

    .vote-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .vote-step-title {
        font-size: 1.5rem;
    }

    .vote-button {
        padding: 12px 24px;
        font-size: 1.1rem;
        min-width: 180px;
    }

    .vote-info-panel,
    .vote-coins-panel {
        padding: 30px 20px;
    }

    .info-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vote-coins-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .vote-coins-info {
        text-align: center;
    }

    .vote-coins-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .vote-header h1 {
        font-size: 2rem;
    }

    .vote-step-title {
        font-size: 1.3rem;
    }

    .info-feature-title {
        font-size: 1.2rem;
    }

    .vote-coins-value {
        font-size: 1.8rem;
    }
}

/* Payment Page Styles */
.payment-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.payment-container {
    max-width: 1400px;
    margin: 0 auto;
}

.payment-header {
    margin-bottom: 60px;
}

.payment-header h1 {
    font-size: 4rem;
    margin-bottom: 30px;
}

.payment-header h1 i {
    margin-right: 20px;
    color: #ff6b6b;
}

.payment-description {
    color: #ccc;
    font-size: 1.3rem;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Payment Methods Section */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

.payment-method-section {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.payment-method-section:hover {
    transform: translateY(-5px);
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.payment-method-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 10px;
}

.payment-method-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-method-icon.bitcoin {
    background: #f7931a;
    color: #000;
    border-color: #f7931a;
}

/* Ensure Bitcoin icon is properly displayed */
.payment-method-icon.bitcoin i {
    color: #000 !important;
    font-size: 2.5rem !important;
}

.payment-method-icon.cryptovoucher {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.payment-method-icon.paysafecard {
    background: #fe5000;
    color: #fff;
}

.payment-method-icon.creditcard {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.payment-method-icon.banktransfer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.payment-method-info {
    flex: 1;
}

.payment-method-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'Capriola', sans-serif;
}

.payment-method-subtitle {
    color: #ccc;
    font-size: 1.1rem;
    margin: 0;
}

/* Payment Packages Grid */
.payment-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.payment-package {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-package:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 107, 107, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.package-coins {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 10px;
    font-family: 'Capriola', sans-serif;
}

.package-price {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.package-bonus {
    color: #00ff88;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: rgba(0, 255, 136, 0.1);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

.package-spacer {
    margin-bottom: 20px;
    height: 26px;
}

.package-button {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.package-button.bitcoin {
    background: linear-gradient(45deg, #f7931a, #ff9500);
    color: #000;
}

.package-button.cryptovoucher {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.package-button.paysafecard {
    background: linear-gradient(45deg, #fe5000, #ff6b00);
}

.package-button.creditcard {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
}

.package-button.banktransfer {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

/* Payment Info Box */
.payment-info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
	margin-top: 30px;
}

.payment-info-text {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 15px;
}

.payment-info-text i {
    color: #ff6b6b;
    margin-right: 8px;
}

.payment-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.payment-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.payment-link:hover {
    color: #fff;
    text-decoration: underline;
}

.payment-separator {
    color: #666;
    font-size: 1rem;
}

/* Empty State */
.payment-empty-state {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 60px 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.empty-state-icon {
    font-size: 6rem;
    margin-bottom: 20px;
}

.empty-state-text {
    color: #ccc;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Security Panel */
.payment-security-panel {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.security-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.security-icon {
    width: 50px;
    height: 50px;
    background: #ff6b6b;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.security-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.terms-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Payment Page */
@media (max-width: 1024px) {
    .payment-packages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .payment-page {
        padding: 100px 10px 50px;
    }

    .payment-header h1 {
        font-size: 2.8rem;
    }

    .payment-description {
        font-size: 1.1rem;
    }

    .payment-method-section {
        padding: 30px 20px;
    }

    .payment-method-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .payment-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .payment-method-title {
        font-size: 1.6rem;
    }

    .payment-method-subtitle {
        font-size: 1rem;
    }

    .payment-packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .payment-package {
        padding: 25px 20px;
    }

    .package-coins {
        font-size: 2.2rem;
    }

    .package-price {
        font-size: 1.2rem;
    }

    .payment-links {
        flex-direction: column;
        gap: 8px;
    }

    .payment-separator {
        display: none;
    }

    .payment-empty-state {
        padding: 40px 20px;
    }

    .empty-state-icon {
        font-size: 4rem;
    }

    .payment-security-panel {
        padding: 30px 20px;
    }

    .security-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .payment-header h1 {
        font-size: 2.2rem;
    }

    .payment-header h1 i {
        margin-right: 10px;
    }

    .payment-method-title {
        font-size: 1.4rem;
    }

    .package-coins {
        font-size: 2rem;
    }

    .package-price {
        font-size: 1.1rem;
    }

    .package-button {
        padding: 12px 16px;
        font-size: 1rem;
    }
}

/* Payment Terms Page Styles */
.payment-terms-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.payment-terms-container {
    max-width: 1000px;
    margin: 0 auto;
}

.payment-terms-header {
    margin-bottom: 60px;
}

.payment-terms-header h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.payment-terms-header h1 i {
    margin-right: 15px;
    color: #ff6b6b;
}

.payment-terms-description {
    color: #ccc;
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Terms Content */
.payment-terms-content {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
}

.terms-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.terms-section .section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    font-family: 'Capriola', sans-serif;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-section .section-title i {
    color: #ff6b6b;
    font-size: 1.8rem;
}

.terms-subsection {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s ease;
}

.terms-subsection:hover {
    transform: translateY(-2px);
}

.subsection-title {
    color: #ff6b6b;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Capriola', sans-serif;
}

.terms-text {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.terms-text strong {
    color: #fff;
    font-weight: 600;
}

.warning-text {
    color: #ff6b6b !important;
}

.warning-text strong {
    color: #ff6b6b !important;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    color: #ccc;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.terms-list li::before {
    content: "▸";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.terms-list li:last-child {
    border-bottom: none;
}

/* Company Info Box */
.company-info-box {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.company-name {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.company-address {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 1rem;
}

.company-details {
    color: #ccc;
    margin: 0;
    font-size: 1rem;
}

.company-details strong {
    color: #fff;
}

/* Terms Footer */
.terms-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 107, 107, 0.3);
}

.footer-info {
    text-align: center;
}

.footer-text {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-text strong {
    color: #ccc;
}

/* Back to Shop Button */
.terms-back-button {
    text-align: center;
    margin-top: 40px;
}

.back-to-shop-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.back-to-shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Responsive Payment Terms Page */
@media (max-width: 768px) {
    .payment-terms-page {
        padding: 100px 10px 50px;
    }

    .payment-terms-header h1 {
        font-size: 2.5rem;
    }

    .payment-terms-description {
        font-size: 1.1rem;
    }

    .payment-terms-content {
        padding: 30px 20px;
    }

    .terms-section .section-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .terms-subsection {
        padding: 20px 15px;
    }

    .subsection-title {
        font-size: 1.2rem;
    }

    .terms-text {
        font-size: 0.95rem;
    }

    .company-info-box {
        padding: 20px 15px;
    }

    .company-name {
        font-size: 1rem;
    }

    .company-address,
    .company-details {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .payment-terms-header h1 {
        font-size: 2rem;
    }

    .terms-section .section-title {
        font-size: 1.4rem;
    }

    .subsection-title {
        font-size: 1.1rem;
    }

    .terms-text {
        font-size: 0.9rem;
    }

    .back-to-shop-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Payment History Page Styles */
.payment-history-page {
    padding: 120px 20px 50px;
    min-height: 100vh;
}

.payment-history-container {
    max-width: 1400px;
    margin: 0 auto;
}

.payment-history-header {
    margin-bottom: 60px;
}

.payment-history-header h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.payment-history-header h1 i {
    margin-right: 15px;
    color: #ff6b6b;
}

.payment-history-description {
    color: #ccc;
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Payments Table */
.payment-history-content {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #ff6b6b;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.payments-table-container {
    margin-bottom: 30px;
}

.table-responsive {
    overflow-x: auto;
}

.payments-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    min-width: 800px;
}

.payments-table th {
    background: rgba(255, 107, 107, 0.2);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-bottom: 2px solid #ff6b6b;
    color: #fff;
    font-family: 'Capriola', sans-serif;
}

.payments-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.payment-row {
    transition: background-color 0.3s ease;
}

.payment-row:hover {
    background: rgba(255, 107, 107, 0.1);
}

.payment-row:last-child td {
    border-bottom: none;
}

/* Table Cell Styles */
.payment-date {
    color: #ccc;
    font-size: 0.95rem;
    white-space: nowrap;
}

.payment-package .package-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.payment-amount {
    color: #ccc;
    font-size: 0.95rem;
    white-space: nowrap;
}

.payment-cash {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    font-family: 'Capriola', sans-serif;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge i {
    font-size: 0.8rem;
}

.status-badge.paid {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.failed {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.status-badge.canceled {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.status-badge.expired {
    background: rgba(255, 154, 0, 0.2);
    color: #ff9a00;
    border: 1px solid rgba(255, 154, 0, 0.3);
}

.status-badge.default {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Method Badges */
.method-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.method-badge i {
    font-size: 0.9rem;
}

.method-badge.paysafecard {
    background: rgba(254, 0, 0, 0.2);
    border-color: rgba(254, 0, 0, 0.3);
    color: #fe5000;
}

.method-badge.creditcard {
    background: rgba(30, 60, 114, 0.2);
    border-color: rgba(30, 60, 114, 0.3);
    color: #4a90e2;
}

.method-badge.banktransfer {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.method-badge.btcpay {
    background: rgba(247, 147, 26, 0.2);
    border-color: rgba(247, 147, 26, 0.3);
    color: #f7931a;
}

.method-badge.cryptovoucher {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.method-empty {
    color: #888;
    font-style: italic;
}

/* Pagination Container */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Empty State */
.payment-history-empty {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 6rem;
    margin-bottom: 30px;
    opacity: 0.7;
}

.payment-history-empty .section-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Capriola', sans-serif;
}

.empty-description {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.buy-cash-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.buy-cash-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Back Button */
.history-back-button {
    text-align: center;
    margin-top: 30px;
}

.back-to-shop-button {
    background: linear-gradient(45deg, #ff6b6b, #ff4757);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.back-to-shop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Responsive Payment History Page */
@media (max-width: 768px) {
    .payment-history-page {
        padding: 100px 10px 50px;
    }

    .payment-history-header h1 {
        font-size: 2.5rem;
    }

    .payment-history-description {
        font-size: 1.1rem;
    }

    .payment-history-content {
        padding: 30px 20px;
    }

    .payments-table {
        font-size: 0.9rem;
    }

    .payments-table th,
    .payments-table td {
        padding: 15px 10px;
    }

    .payment-cash {
        font-size: 1rem;
    }

    .status-badge,
    .method-badge {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .empty-icon {
        font-size: 4rem;
    }

    .payment-history-empty .section-title {
        font-size: 1.6rem;
    }

    .empty-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .payment-history-header h1 {
        font-size: 2rem;
    }

    .payment-history-content {
        padding: 25px 15px;
    }

    .payments-table th,
    .payments-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }

    .payment-cash {
        font-size: 0.95rem;
    }

    .status-badge,
    .method-badge {
        padding: 5px 8px;
        font-size: 0.75rem;
        gap: 6px;
    }

    .status-badge i,
    .method-badge i {
        font-size: 0.7rem;
    }

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

    .payment-history-empty .section-title {
        font-size: 1.4rem;
    }

    .buy-cash-button,
    .back-to-shop-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}