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

body {
    background: #0a0a0c;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #eef2ff;
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: auto;
}

:root {
    --primary: #ffd700;
    --primary-dark: #ffaa00;
    --primary-glow: rgba(255, 215, 0, 0.3);
    --bg-card: rgba(18, 22, 35, 0.85);
    --border-glow: rgba(255, 215, 0, 0.2);
    --radius-card: 20px;
}

.app-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    background: #0a0a0c;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #0a0a0c;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 10px 0;
    width: 100%;
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gem-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.app-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.title-blue {
    color: #3b82f6;
}

.title-accent {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wallet-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.content-scroll {
    flex: 1;
    padding: 80px 24px 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.curve-stats-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 6px 12px;
    border-radius: 40px;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.curve-stats-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 140, 0, 0.2));
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.beta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 3px 8px;
    border-radius: 40px;
    margin-left: 6px;
}

.beta-icon {
    font-size: 0.6rem;
}

.beta-text {
    font-size: 0.55rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 0.5px;
}

.nav-connect-btn {
    background: linear-gradient(135deg, #00ff88, #8b5cf6);
    border: none;
    padding: 6px 16px;
    border-radius: 9999px;
    color: #0a0a0c;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 136, 0.3);
    white-space: nowrap;
}

.nav-connect-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 4px 12px 4px 8px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile-btn:hover {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00ff88, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 0.85rem;
    color: #0a0a0c;
}

.user-address {
    font-size: 0.75rem;
    font-weight: 600;
    color: #eef2ff;
    font-family: monospace;
}

.dropdown-arrow {
    font-size: 0.6rem;
    color: #8b92b0;
    transition: transform 0.2s;
}

.user-profile-btn:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* ========================================
   DROPDOWN MENU
   ======================================== */

.profile-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 340px;
    max-width: 90vw;
    background: #0a0a0c;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: visible;
    z-index: 1001;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GAMER HUB - nowy nagłówek */
.dropdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.gamer-hub-title {
    display: flex;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.hub-text {
    color: #8b92b0;
    text-shadow: none;
}

.hub-text-highlight {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.hub-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% {
        opacity: 0.5;
        width: 120px;
        height: 120px;
    }
    50% {
        opacity: 1;
        width: 160px;
        height: 160px;
    }
}

.dropdown-header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.dropdown-header:hover::before {
    opacity: 1;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    transition: background 0.2s;
    background: transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.dropdown-item-content {
    flex: 1;
}

.dropdown-item-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b92b0;
    margin-bottom: 2px;
}

.dropdown-item-value {
    font-size: 0.75rem;
    color: #eef2ff;
    word-break: break-all;
}

.dropdown-gem-icon,
.dropdown-network-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown-disconnect-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: rgba(244, 67, 54, 0.1);
    border: none;
    border-top: 1px solid rgba(244, 67, 54, 0.2);
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-disconnect-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8888;
}

.dropdown-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.dropdown-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ========================================
   BADGES SECTION
   ======================================== */

.dropdown-badges-section {
    padding: 16px 20px;
    background: transparent;
    overflow: visible;
}

.dropdown-badges-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.badges-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.badges-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30px;
    right: -30px;
    width: calc(100% + 60px);
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, #ffd700, transparent);
    border-radius: 2px;
}

.badges-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffd700;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 4px #ffd700;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px #ffd700;
    }
}

.dropdown-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    justify-items: center;
    align-items: start;
    overflow: visible;
}

.badge-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.badge-slot:hover {
    transform: translateY(-2px);
}

.badge-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.badge-slot:hover .badge-icon {
    transform: scale(1.05);
}

.badge-icon-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.badge-icon-default {
    font-size: 2.2rem;
}

.badge-slot.locked {
    opacity: 0.5;
    filter: grayscale(0.4);
}

.lock-overlay {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
    z-index: 5;
}

/* PO CLAIM - brak kłódki i brak znaczka */
.badge-slot.claimed {
    opacity: 1;
    filter: none;
}

.badge-slot.claimed .lock-overlay {
    display: none;
}

.badge-slot.claimed .check-overlay {
    display: none;
}

.badge-slot.placeholder {
    opacity: 0.6;
}

.badge-icon-placeholder {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 215, 0, 0.25);
    transition: all 0.2s ease;
}

.badge-slot.placeholder:hover .badge-icon-placeholder {
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.placeholder-text {
    font-size: 0.55rem;
    font-weight: 600;
    color: #8b92b0;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* ========================================
   BADGE CLAIM BUTTON STYLES (Subtelne)
   ======================================== */

/* Delikatna pulsująca obwódka wokół całego badge */
.badge-slot:has(.badge-claim-btn) {
    animation: subtlePulse 2.5s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes subtlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.12);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Subtelny przycisk CLAIM na środku badge */
.badge-claim-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    border: 0.5px solid rgba(255, 215, 0, 0.4);
    border-radius: 18px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 0.55rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 20;
    font-family: 'Inter', sans-serif;
}

.badge-claim-btn:hover {
    background: rgba(255, 215, 0, 0.8);
    color: #000000;
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.02);
}

.badge-claim-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.badge-claim-btn.loading .claim-text {
    display: none;
}

.badge-claim-btn.loading::after {
    content: "⏳";
    font-size: 0.5rem;
    animation: spin 1s linear infinite;
}

.badge-claim-btn.success {
    background: rgba(0, 200, 80, 0.8);
    color: #ffffff;
    border-color: #ffffff;
    pointer-events: none;
    font-size: 0.5rem;
    padding: 3px 6px;
}

.badge-claim-btn.error {
    background: rgba(220, 0, 0, 0.8);
    color: #ffffff;
    border-color: #ffffff;
    pointer-events: none;
    font-size: 0.5rem;
    padding: 3px 6px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Tooltip - na dole badge, nie wychodzi poza dropdown */
.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: #1a1a2a;
    color: #fff;
    text-align: center;
    padding: 6px 12px;
    border-radius: 8px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    white-space: nowrap;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.badge-slot:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Ukryj stare tooltipy */
.badge-slot::before,
.badge-slot::after {
    display: none !important;
}

/* ========================================
   BANNER SECTION
   ======================================== */

.banner-section {
    padding: 1.5rem 1.5rem;
    background: rgba(18, 22, 35, 0.4);
    border-radius: 2rem;
    margin: 0 0 2rem 0;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.banner-wrapper {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-content {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.banner-image-wrapper {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.banner-image:hover {
    transform: scale(1.02);
}

.banner-badge {
    display: inline-block;
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.banner-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.banner-stats {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-icon {
    font-size: 0.8rem;
}

.stat-text {
    font-size: 0.7rem;
    font-weight: 500;
    color: #fff;
}

.utility-section {
    margin: 0.8rem 0;
}

.utility-badge {
    display: inline-block;
    background: rgba(255,215,0,0.15);
    color: #ffd700;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.utility-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.utility-description {
    color: #ccc;
    font-size: 0.75rem;
    line-height: 1.4;
}

.mining-hash-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,0,0,0.3);
    padding: 0.3rem 0.6rem;
    border-radius: 2rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
    width: fit-content;
}

.mining-hash-badge span {
    color: #ccc;
    font-size: 0.6rem;
}

.mining-logo {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.mining-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.mining-link:hover {
    text-decoration: underline;
    color: #ffd700;
}

/* ========================================
   TOKEN ECOSYSTEM
   ======================================== */

.token-ecosystem {
    background: rgba(18, 22, 35, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 24px;
    margin: 0 0 20px 0;
    border: 1px solid rgba(255,215,0,0.1);
}

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

.token-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd700;
    margin-bottom: 10px;
}

.eco-subtitle {
    font-size: 0.85rem;
    color: #8b92b0;
}

.highlight {
    color: #ffd700;
    font-weight: 700;
}

.eco-box {
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.eco-box p {
    font-size: 0.85rem;
    color: #eef2ff;
    margin-bottom: 6px;
}

.eco-note {
    font-size: 0.8rem;
    color: #ffaa44;
}

.eco-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0,0,0,0.25);
    border-radius: 50px;
    padding: 12px 20px;
    margin-bottom: 24px;
}

.step-node {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,215,0,0.1);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #eef2ff;
}

.step-icon {
    font-size: 0.9rem;
}

.step-token-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffd700;
}

.step-arrow {
    color: #ffd700;
    font-size: 1rem;
    font-weight: 700;
}

.eco-future {
    background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(0,0,0,0.2));
    border-radius: 20px;
    padding: 20px;
    border-left: 3px solid #ffd700;
}

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

.future-icon {
    font-size: 1.6rem;
}

.eco-future h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffd700;
    margin: 0;
}

.eco-future p {
    color: #8b92b0;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 0.8rem;
}

.future-highlight {
    background: rgba(255,215,0,0.08);
    padding: 10px 12px;
    border-radius: 14px;
    margin: 12px 0 !important;
    font-weight: 500;
    color: #eef2ff !important;
    border-left: 3px solid #ffd700;
    font-size: 0.8rem;
}

.vision-quote {
    margin-top: 12px;
    font-style: italic;
    color: #ffd700;
    font-size: 0.75rem;
    text-align: center;
}

/* ========================================
   WHY PLAY & OTHER SECTIONS
   ======================================== */

.why-play, .ranking-custom, .rewards, .events, .why-login, .how-it-works {
    background: rgba(18, 22, 35, 0.4);
    border-radius: 28px;
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.section-subtitle {
    color: #8b92b0;
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: rgba(18, 22, 35, 0.85);
    border-radius: 18px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #ffd700;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #ffd700;
}

.feature-card p {
    font-size: 0.7rem;
    color: #8b92b0;
}

.ranking-content {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.ranking-text {
    flex: 1;
    text-align: center;
}

.ranking-text p {
    color: #8b92b0;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.ranking-quote {
    color: #ffd700;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 16px;
}

.ranking-podium {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.podium-place {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: rgba(18, 22, 35, 0.85);
    border-radius: 14px;
    min-width: 85px;
}

.podium-place.first {
    background: linear-gradient(135deg, #1a1a2a, #0a0a15);
    border: 1px solid #ffd700;
    transform: scale(1.05);
}

.podium-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.podium-place span {
    font-size: 0.75rem;
}

.rewards {
    text-align: center;
}

.rewards p {
    color: #8b92b0;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.rewards-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a1a;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.75rem;
}

.events {
    text-align: center;
}

.events p {
    color: #8b92b0;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.events-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.event-card {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}

.login-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.benefit {
    background: rgba(18, 22, 35, 0.85);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255,215,0,0.2);
}

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

.step {
    text-align: center;
    flex: 1;
    min-width: 130px;
    padding: 16px;
    background: rgba(18, 22, 35, 0.85);
    border-radius: 18px;
}

.step-num {
    display: inline-block;
    width: 26px;
    height: 26px;
    background: #ffd700;
    color: #1a1a1a;
    border-radius: 50%;
    line-height: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.step h4 {
    color: #ffd700;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.step p {
    font-size: 0.65rem;
    color: #8b92b0;
}

.gem-requirement {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(0,0,0,0.3));
    border: 1px solid var(--primary);
    border-radius: 40px;
    padding: 10px 20px;
    text-align: center;
    margin: 16px 0;
    font-size: 0.8rem;
}

/* ========================================
   GAMES SECTION
   ======================================== */

.games-section {
    background: rgba(18, 22, 35, 0.4);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-card);
    padding: 14px 12px;
    text-align: center;
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.game-card-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.game-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.game-card p {
    font-size: 0.6rem;
    color: #8b92b0;
    margin-bottom: 6px;
}

.game-card-badge {
    font-size: 0.55rem;
    color: var(--primary);
    background: rgba(255,215,0,0.1);
    padding: 3px 6px;
    border-radius: 20px;
    display: inline-block;
}

/* ========================================
   LEADERBOARD SECTION
   ======================================== */

.leaderboard-section {
    background: rgba(18, 22, 35, 0.4);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 20px;
}

.leaderboard-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.filter-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    color: #8b92b0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.7rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #1a1a1a;
    border-color: var(--primary);
}

.leaderboard-list {
    max-height: 280px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.leaderboard-rank {
    font-weight: 700;
    width: 45px;
    font-size: 0.8rem;
}

.leaderboard-player {
    flex: 1;
    font-size: 0.75rem;
}

.leaderboard-score {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.75rem;
}

.loading-scores {
    text-align: center;
    padding: 30px;
    color: #8b92b0;
    font-size: 0.8rem;
}

/* ========================================
   HERO PLATFORM CARD
   ======================================== */

.hero-platform-card {
    background: rgba(18, 22, 35, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid rgba(255,215,0,0.1);
}

.platform-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    width: 45px;
    text-align: center;
}

.platform-content {
    flex: 1;
}

.platform-desc {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.platform-creators {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.creator-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 40px;
    padding: 4px 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.creator-badge:hover {
    border-color: #ffd700;
    transform: translateY(-2px);
}

.creator-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: #eef2ff;
}

.creator-handle {
    font-size: 0.6rem;
    color: #8b92b0;
}

.x-icon {
    font-size: 0.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
    color: #fff;
    padding: 1px 4px;
    border-radius: 20px;
}

.creator-separator {
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */

.gem-footer {
    background: #0a0a0c;
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    margin-top: 20px;
    width: 100%;
}

.footer-top {
    padding: 40px 0 28px 0;
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.8fr 0.8fr 0.8fr;
    gap: 28px;
    width: 100%;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.footer-description {
    color: #8b92b0;
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 0;
    max-width: 85%;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    text-decoration: none;
}

.social-link:hover {
    background: #ffffff;
    color: #0a0a0c;
    transform: scale(1.1);
    border-color: #ffffff;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #8b92b0;
    text-decoration: none;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    width: 100%;
    background: #0a0a0c;
}

.footer-bottom-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3), transparent);
}

.footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 24px 28px 24px;
    width: 100%;
}

.copyright-line {
    color: #6b7280;
    font-size: 0.65rem;
    margin-bottom: 6px;
    line-height: 1.4;
    word-break: break-all;
}

.contract-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-left: 6px;
    font-size: 0.65rem;
}

.contract-link:hover {
    text-decoration: underline;
    color: #cccccc;
}

.contact-line {
    color: #6b7280;
    font-size: 0.65rem;
    margin-top: 4px;
}

.contact-line i {
    color: #ffffff;
    margin-right: 4px;
    font-size: 0.65rem;
}

.contact-line a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.65rem;
}

.contact-line a:hover {
    text-decoration: underline;
    color: #cccccc;
}

/* ========================================
   GAME MODAL
   ======================================== */

.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.game-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    margin: 5vh auto;
    background: #0a0c15;
    border-radius: 28px;
    border: 1px solid var(--border-glow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid var(--border-glow);
}

.modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.modal-close {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.game-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.game-canvas-wrapper {
    background: #0a1a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 18px;
}

.game-canvas {
    background: #0a1a0f;
    display: block;
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    user-select: none;
}

.game-ui {
    flex-shrink: 0;
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 18px;
    padding: 12px 16px;
    margin-top: 14px;
}

.game-stats {
    display: flex;
    gap: 16px;
    min-width: 160px;
}

.stat-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b92b0;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.powerup-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.powerup-btn {
    background: rgba(255,152,0,0.2);
    border: 1px solid #ff9800;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    color: #ffcc80;
}

.powerup-btn:hover {
    background: rgba(255,152,0,0.4);
}

.game-controls {
    display: flex;
    gap: 8px;
}

.game-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--border-glow);
    padding: 6px 14px;
    border-radius: 40px;
    color: #eef2ff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.7rem;
}

.game-btn.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #1a1a1a;
}

.game-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* ========================================
   CURVE MODAL
   ======================================== */

.curve-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.curve-modal.active {
    display: block;
}

.curve-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

.curve-modal-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: 10vh auto;
    background: linear-gradient(135deg, rgba(10, 20, 40, 0.98), rgba(0, 0, 0, 0.95));
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.curve-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.curve-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.curve-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.curve-modal-body {
    padding: 20px;
}

.curve-title-with-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.curve-logo-container {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    padding: 2px;
    flex-shrink: 0;
}

.curve-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.curve-title-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
}

.curve-subtitle {
    font-size: 0.6rem;
    color: #8b92b0;
}

.curve-stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.curve-stat-card {
    text-align: center;
    flex: 1;
    min-width: 80px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.curve-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.curve-stat-label {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-top: 4px;
}

.progress-wrapper {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 60px;
    height: 28px;
    margin: 16px 0;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #ffd700, #ff8c00, #ff6b6b);
    height: 100%;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.progress-text {
    color: #000;
    font-weight: 800;
    font-size: 0.65rem;
}

.curve-message {
    text-align: center;
    margin: 10px 0;
    font-size: 0.7rem;
    padding: 6px 10px;
    border-radius: 16px;
}

.curve-status-badge {
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.6rem;
    font-weight: 700;
    background: rgba(0, 198, 255, 0.15);
    color: #00c6ff;
    border: 1px solid rgba(0, 198, 255, 0.3);
    text-transform: uppercase;
}

.curve-target-info {
    text-align: center;
    font-size: 0.6rem;
    opacity: 0.5;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.curve-buy-link {
    text-align: center;
    margin-top: 12px;
}

.curve-buy-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 5px 14px;
    border-radius: 40px;
    color: #ffd700;
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.curve-buy-btn:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 140, 0, 0.2));
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.coming-soon-message {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.coming-soon-message div:first-child {
    font-size: 2rem;
    margin-bottom: 12px;
}

.coming-soon-message div:nth-child(2) {
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffd700;
}

.coming-soon-message div:last-child {
    font-size: 0.75rem;
    opacity: 0.7;
    color: #8b92b0;
}

/* ========================================
   RESPONSYWNOSC
   ======================================== */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 0.9fr 0.9fr 0.9fr;
        gap: 24px;
    }
    .footer-description {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 16px;
    }
    
    .gem-logo {
        width: 28px;
        height: 28px;
    }
    
    .app-title {
        font-size: 1rem;
    }
    
    .curve-stats-btn {
        display: none !important;
    }
    
    .user-address {
        display: none;
    }
    
    .dropdown-arrow {
        display: none;
    }
    
    .content-scroll {
        padding: 100px 16px 30px 16px;
    }
    
    .banner-wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .banner-image-wrapper {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .banner-content {
        order: 2;
        text-align: center;
        align-items: center;
    }
    
    .banner-stats {
        justify-content: center;
    }
    
    .mining-hash-badge {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .banner-title {
        font-size: 1.2rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .ranking-content {
        flex-direction: column;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 100%;
        max-width: 260px;
    }
    
    .platform-creators {
        justify-content: center;
    }
    
    .creator-handle {
        display: none;
    }
    
    .eco-steps {
        flex-direction: column;
        border-radius: 28px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .future-header {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    
    .footer-column {
        display: none !important;
    }
    
    .footer-main {
        display: flex !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .footer-description {
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    .footer-top {
        padding: 32px 0 20px 0;
    }
    
    .footer-bottom-container {
        padding: 8px 20px 20px 20px;
    }
    
    .copyright-line {
        text-align: center;
        word-break: break-word;
    }
    
    .contact-line {
        text-align: center;
    }
    
    .dropdown-menu {
        width: 380px;
    }
}

@media (max-width: 640px) {
    .dropdown-menu {
        width: 380px;
        right: -10px;
    }
    
    .badge-icon, .badge-icon-placeholder {
        width: 48px;
        height: 48px;
    }
    
    .badge-icon-img {
        width: 44px;
        height: 44px;
    }
    
    .badge-icon-default {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 0 12px;
    }
    
    .gem-logo {
        width: 24px;
        height: 24px;
    }
    
    .app-title {
        font-size: 0.9rem;
    }
    
    .nav-connect-btn {
        padding: 4px 10px;
        font-size: 0.65rem;
    }
    
    .content-scroll {
        padding: 95px 12px 25px 12px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .hero-platform-card {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-icon {
        width: auto;
    }
    
    .user-profile-btn {
        padding: 4px 8px;
    }
    
    .dropdown-menu {
        width: calc(100vw - 24px);
        right: -8px;
    }
    
    .dropdown-badges-grid {
        gap: 12px;
    }
    
    .badge-icon, .badge-icon-placeholder {
        width: 44px;
        height: 44px;
    }
    
    .badge-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .badge-icon-default {
        font-size: 1.7rem;
    }
    
    .footer-top {
        padding: 26px 0 16px 0;
    }
    
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-logo-text {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.7rem;
    }
    
    .footer-col-title {
        font-size: 0.8rem;
    }
    
    .footer-link {
        font-size: 0.65rem;
    }
    
    .copyright-line {
        font-size: 0.55rem;
    }
    
    .contact-line {
        font-size: 0.55rem;
    }
    
    .footer-bottom-container {
        padding: 6px 16px 16px 16px;
    }
}

/* ========================================
   CUSTOM DROPDOWN MENU STYLES
   ======================================== */

.custom-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    max-width: 90vw;
    background: #000000;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    z-index: 1001;
    animation: dropdownFadeIn 0.2s ease;
}

.custom-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.custom-dropdown-header .gamer-hub-title {
    display: flex;
    gap: 8px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.custom-dropdown-header .hub-text {
    color: #8b92b0;
    text-shadow: none;
}

.custom-dropdown-header .hub-text-highlight {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.custom-dropdown-header .hub-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15), transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% {
        opacity: 0.5;
        width: 120px;
        height: 120px;
    }
    50% {
        opacity: 1;
        width: 160px;
        height: 160px;
    }
}

.custom-dropdown-header::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.custom-dropdown-header:hover::before {
    opacity: 1;
}

.custom-dropdown-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.custom-dropdown-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.custom-dropdown-items-container {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.custom-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 12px;
    background: transparent;
}

.custom-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.custom-dropdown-item.disconnect:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    color: #BFC3CC;
    flex-shrink: 0;
}

.custom-dropdown-item:hover .dropdown-icon {
    color: #ffd700;
}

.custom-dropdown-item.disconnect:hover .dropdown-icon {
    color: #ef4444;
}

.custom-dropdown-item .item-text {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 500;
    color: #eef2ff;
}

.custom-dropdown-item.disconnect .item-text {
    color: #ef4444;
}

.item-soon {
    font-size: 0.55rem;
    font-weight: 400;
    color: #6B7280;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.custom-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    margin: 8px 0;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ACHIEVEMENTS MODAL STYLES
   ======================================== */

.achievements-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.achievements-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.achievements-modal-container {
    position: relative;
    width: auto;
    min-width: 600px;
    max-width: 800px;
    background: #0a0a0c;
    border-radius: 28px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: visible;
    z-index: 2001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.achievements-modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 18px 24px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.achievements-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievements-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Nagłówek ACHIEVEMENTS z podkreśleniem i pulsującą kropką */
.achievements-modal-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.achievements-modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30px;
    right: -30px;
    width: calc(100% + 60px);
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, #ff8c00, #ffd700, transparent);
    border-radius: 2px;
}

.achievements-modal-title::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffd700;
    animation: pulseGlowAchievements 2s infinite;
}

@keyframes pulseGlowAchievements {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 4px #ffd700;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 12px #ffd700;
    }
}

.achievements-modal-body {
    padding: 30px 24px;
    overflow: visible;
}

.achievements-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
    column-gap: 20px;
    justify-items: center;
    align-items: center;
    margin: 20px 0;
}

/* Karta badge */
.achievement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

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

/* Tooltip */
.achievement-card::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1a1a2a;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 10px;
    white-space: nowrap;
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(2px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #1a1a2a transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 1002;
}

.achievement-card:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-2px);
}

.achievement-card:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(4px);
}

/* Dostosowanie tooltip dla pierwszej i ostatniej kolumny */
.achievement-card:nth-child(4n+1)::after {
    left: 0;
    transform: translateX(0) translateY(8px);
}
.achievement-card:nth-child(4n+1):hover::after {
    transform: translateX(0) translateY(4px);
}
.achievement-card:nth-child(4n+1)::before {
    left: 20px;
    transform: translateX(0) translateY(2px);
}
.achievement-card:nth-child(4n+1):hover::before {
    transform: translateX(0) translateY(-2px);
}

.achievement-card:nth-child(4n+4)::after {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(8px);
}
.achievement-card:nth-child(4n+4):hover::after {
    transform: translateX(0) translateY(4px);
}
.achievement-card:nth-child(4n+4)::before {
    left: auto;
    right: 20px;
    transform: translateX(0) translateY(2px);
}
.achievement-card:nth-child(4n+4):hover::before {
    transform: translateX(0) translateY(-2px);
}

/* Pulsująca obwódka dla badge z przyciskiem CLAIM (tylko OG) */
.achievement-card:has(.achievement-claim-btn) .achievement-icon img {
    animation: claimPulse 2s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes claimPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Stan zablokowany dla badge'y (Retro, Hodler, Support) */
.achievement-card.locked {
    opacity: 0.35;
    filter: grayscale(0.8);
}

/* Stan claimowany dla OG */
.achievement-card.claimed {
    opacity: 1;
    filter: none;
}

.achievement-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.achievement-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Kłódka w prawym dolnym rogu */
.lock-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

/* Przycisk CLAIM na środku badge (tylko OG) */
.achievement-claim-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 215, 0, 0.6);
    border-radius: 30px;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 20;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.achievement-claim-btn:hover {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000000;
    border-color: #ffffff;
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.6);
}

.achievement-claim-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.achievement-claim-btn.loading::after {
    content: "⏳";
    animation: spin 1s linear infinite;
}

.achievement-claim-btn.success {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #ffffff;
    border-color: #ffffff;
    pointer-events: none;
}

.achievement-claim-btn.error {
    background: linear-gradient(135deg, #d50000, #ff1744);
    color: #ffffff;
    border-color: #ffffff;
    pointer-events: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Placeholder dla SOON */
.achievement-icon-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 215, 0, 0.25);
}

.achievement-icon-placeholder .placeholder-text {
    font-size: 0.7rem;
    color: #8b92b0;
}

.achievements-loading, .achievements-error {
    text-align: center;
    padding: 40px;
    color: #8b92b0;
}

/* Responsywność */
@media (max-width: 768px) {
    .achievements-badges-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }
    
    .achievements-modal-container {
        min-width: 500px;
        max-width: 700px;
    }
}

@media (max-width: 640px) {
    .achievements-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 15px;
    }
    
    .achievements-modal-container {
        min-width: 400px;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .achievements-badges-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .achievements-modal-container {
        min-width: 280px;
        max-width: 350px;
    }
}