/* ============================================
   Modern Design System - Xenia's List
   ============================================ */

:root {
    /* Habbo Theme - Hotel Colors */
    --habbo-primary: #ffd700;
    --habbo-secondary: #ff8c00;
    --habbo-bg: #2c1810;
    --habbo-card: #3d2617;
    --habbo-accent: #ffeb3b;

    /* RuneScape Theme - Medieval/Game Colors */
    --rs-primary: #c69749;
    --rs-secondary: #8b6f47;
    --rs-bg: #1a0f0a;
    --rs-card: #2d1810;
    --rs-accent: #d4af37;

    /* Steam Theme - Dark/Industrial */
    --steam-primary: #9a9a9a;
    --steam-secondary: #2a475e;
    --steam-bg: #171a21;
    --steam-card: #1b2838;
    --steam-accent: #c0c0c0;

    /* OpenSea Theme - Ocean/Web3 */
    --opensea-primary: #2081e2;
    --opensea-secondary: #1868b7;
    --opensea-bg: #04111d;
    --opensea-card: #1a2d3f;
    --opensea-accent: #3291e8;

    /* Global Colors */
    --bg-dark: #0a0e14;
    --bg-darker: #050810;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* ============================================
   Loading Screen
   ============================================ */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loading-logo {
    max-width: 200px;
    height: auto;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6)) 
            drop-shadow(0 0 20px rgba(88, 101, 242, 0.4))
            drop-shadow(0 0 30px rgba(88, 101, 242, 0.2));
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 1;
}

.loading-logo::before,
.loading-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.loading-logo::before {
    background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    animation: sparkle1 2s ease-in-out infinite;
}

.loading-logo::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    filter: blur(10px);
    animation: sparkle2 2.5s ease-in-out infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #5865f2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-top: 40px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

/* ============================================
   Landing Page
   ============================================ */

.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.landing-header {
    text-align: center;
    margin-bottom: 60px;
}

.header-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6)) 
            drop-shadow(0 0 20px rgba(88, 101, 242, 0.4))
            drop-shadow(0 0 30px rgba(88, 101, 242, 0.2));
    animation: fadeInDown 0.8s ease, logoGlow 3s ease-in-out infinite;
    z-index: 1;
}

.header-logo::before,
.header-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.header-logo::before {
    background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    animation: sparkle1 2s ease-in-out infinite;
}

.header-logo::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    filter: blur(10px);
    animation: sparkle2 2.5s ease-in-out infinite;
}

.landing-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-transform: uppercase;
    animation: fadeInDown 1s ease;
}

.arrow {
    color: #5865f2;
    font-size: 2.5rem;
    margin: 0 20px;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(10px);
        opacity: 0.6;
    }
}

.landing-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    animation: fadeInDown 1.2s ease;
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.platform-card:hover,
.platform-card:focus {
    transform: translateY(-8px);
    border-color: #5865f2;
    box-shadow: 0 20px 40px rgba(88, 101, 242, 0.3);
    outline: none;
}

.platform-card:hover::before,
.platform-card:focus::before {
    opacity: 1;
}

.platform-card:focus-visible {
    outline: 2px solid #5865f2;
    outline-offset: 4px;
}

.platform-card[data-platform="habbo"]:hover {
    border-color: var(--habbo-primary);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.platform-card[data-platform="runescape"]:hover {
    border-color: var(--rs-primary);
    box-shadow: 0 20px 40px rgba(198, 151, 73, 0.2);
}

.platform-card[data-platform="steam"]:hover {
    border-color: var(--steam-primary);
    box-shadow: 0 20px 40px rgba(154, 154, 154, 0.2);
}

.platform-card[data-platform="opensea"]:hover {
    border-color: var(--opensea-primary);
    box-shadow: 0 20px 40px rgba(32, 129, 226, 0.2);
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.1);
    color: var(--text-primary);
}

.platform-name {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Landing Info */
.landing-info {
    max-width: 1200px;
    width: 100%;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease;
}

.info-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 900;
    color: #5865f2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 2px;
}

.landing-about {
    margin-top: 40px;
    margin-bottom: 20px;
    animation: fadeInUp 1.3s ease;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.about-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.about-link:hover {
    opacity: 0.7;
}

.about-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    padding: 0 20px;
    display: block;
}

.landing-footer {
    margin-top: 20px;
    animation: fadeInUp 1.4s ease;
}

/* ============================================
   Modal Styles
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

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

.modal-content {
    position: relative;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10002;
}

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

.modal-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.modal-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-biography {
    font-size: 1.1rem;
    text-align: left;
    margin: 0;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: rgba(88, 101, 242, 0.1);
    border: 2px solid #5865f2;
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
    background: #5865f2;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
    outline: none;
}

.contact-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.contact-link:active {
    transform: translateY(0);
}

/* ============================================
   Shop View
   ============================================ */

.shop-view {
    min-height: 100vh;
    animation: fadeIn 0.5s ease;
}

.shop-nav {
    position: sticky;
    top: 0;
    background: rgba(10, 14, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 100;
}

.nav-container {
    max-width: 70%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.back-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.back-btn:hover,
.back-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-4px);
    outline: none;
}

.back-btn:focus-visible {
    outline: 2px solid #5865f2;
    outline-offset: 2px;
}

.back-btn:active {
    transform: translateX(-2px);
}

.logo-container {
    position: relative;
    display: inline-block;
}

.nav-logo {
    max-width: 120px;
    height: auto;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6)) 
            drop-shadow(0 0 20px rgba(88, 101, 242, 0.4))
            drop-shadow(0 0 30px rgba(88, 101, 242, 0.2));
    animation: logoGlow 3s ease-in-out infinite;
    z-index: 1;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
    margin-left: 15px;
}

.nav-logo::before,
.nav-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.nav-logo::before {
    background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
    filter: blur(15px);
    animation: sparkle1 2s ease-in-out infinite;
}

.nav-logo::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    filter: blur(10px);
    animation: sparkle2 2.5s ease-in-out infinite;
}

/* Sparkle particles */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(88, 101, 242, 0.9);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 6px rgba(88, 101, 242, 1),
                0 0 12px rgba(88, 101, 242, 0.8),
                0 0 18px rgba(88, 101, 242, 0.6);
    animation: sparkleFloat 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 10%;
    left: -15px;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 50%;
    right: -15px;
    animation-delay: 0.75s;
}

.sparkle-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 1.5s;
}

.sparkle-4 {
    top: 20%;
    right: 10%;
    animation-delay: 2.25s;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6)) 
                drop-shadow(0 0 20px rgba(88, 101, 242, 0.4))
                drop-shadow(0 0 30px rgba(88, 101, 242, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.8)) 
                drop-shadow(0 0 25px rgba(88, 101, 242, 0.6))
                drop-shadow(0 0 35px rgba(88, 101, 242, 0.4));
    }
}

@keyframes sparkle1 {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes sparkle2 {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.15) rotate(180deg);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Shop Content */
.shop-content {
    max-width: 70%;
    margin: 0 auto;
    padding: 60px 20px;
}

.platform-section {
    animation: fadeIn 0.5s ease;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.premium-section .section-subtitle {
    text-align: center;
}

.section-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 20px;
}

.search-box i {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-input:focus {
    color: var(--text-primary);
}

.search-box:focus-within {
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

/* Sale Banner */
.sale-banner {
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: var(--text-primary);
    text-align: center;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 auto 40px;
    max-width: 65%;
    letter-spacing: 0.5px;
}

/* Accounts Grid */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.account-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.account-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-card:hover,
.account-card:focus {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    outline: none;
}

.account-card:hover::before,
.account-card:focus::before {
    opacity: 1;
}

.account-card:focus-visible {
    outline: 2px solid rgba(88, 101, 242, 0.6);
    outline-offset: 2px;
}

.account-card:active {
    transform: translateY(-3px);
}

.account-platform {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.account-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    word-break: break-word;
}

.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 8px;
    color: #ffd700;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.2),
                0 0 12px rgba(255, 215, 0, 0.1),
                inset 0 0 4px rgba(255, 215, 0, 0.1);
    animation: newBadgeGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
    z-index: 10;
}

@keyframes newBadgeGlow {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255, 215, 0, 0.2),
                    0 0 12px rgba(255, 215, 0, 0.1),
                    inset 0 0 4px rgba(255, 215, 0, 0.1);
        text-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
        border-color: rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3),
                    0 0 18px rgba(255, 215, 0, 0.15),
                    inset 0 0 6px rgba(255, 215, 0, 0.15);
        text-shadow: 0 0 6px rgba(255, 215, 0, 0.5),
                     0 0 10px rgba(255, 215, 0, 0.3);
        border-color: rgba(255, 215, 0, 0.5);
    }
}

.account-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 40px;
    line-height: 1.5;
}

.account-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Price styling with sale */
.account-price .original-price {
    display: block;
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    text-decoration-color: #ff5252;
    text-decoration-thickness: 2px;
    margin-bottom: 6px;
    opacity: 0.7;
}

.account-price .sale-price {
    display: block;
    color: #4caf50;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
    animation: pricePulse 2s ease-in-out infinite;
}

@keyframes pricePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   Platform-Specific Theming
   ============================================ */

/* Habbo Theme */
#habbo-section {
    --theme-primary: var(--habbo-primary);
    --theme-accent: var(--habbo-accent);
}

#habbo-section .account-card:hover {
    border-color: var(--habbo-primary);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.2);
}

#habbo-section .section-title {
    color: var(--habbo-accent);
}

#habbo-section .sale-banner {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 235, 59, 0.3);
    color: var(--habbo-accent);
}

#habbo-section .premium-section .section-subtitle {
    color: var(--habbo-accent);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4),
                 0 0 20px rgba(255, 215, 0, 0.2),
                 0 0 30px rgba(255, 215, 0, 0.1);
}

/* RuneScape Theme */
#runescape-section {
    --theme-primary: var(--rs-primary);
    --theme-accent: var(--rs-accent);
}

#runescape-section .account-card:hover {
    border-color: var(--rs-primary);
    box-shadow: 0 12px 30px rgba(198, 151, 73, 0.2);
}

#runescape-section .section-title {
    color: var(--rs-accent);
}

/* Steam Theme */
#steam-section {
    --theme-primary: var(--steam-primary);
    --theme-accent: var(--steam-accent);
}

#steam-section .account-card:hover {
    border-color: var(--steam-primary);
    box-shadow: 0 12px 30px rgba(154, 154, 154, 0.2);
}

#steam-section .section-title {
    color: var(--steam-accent);
}

/* OpenSea Theme */
#opensea-section {
    --theme-primary: var(--opensea-primary);
    --theme-accent: var(--opensea-accent);
}

#opensea-section .account-card:hover {
    border-color: var(--opensea-primary);
    box-shadow: 0 12px 30px rgba(32, 129, 226, 0.2);
}

#opensea-section .section-title {
    color: var(--opensea-accent);
}

/* ============================================
   Premium Lock Section
   ============================================ */

.premium-section {
    margin-top: 60px;
}

.lock-container {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.lock-content {
    max-width: 500px;
    margin: 0 auto;
}

.lock-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.lock-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.lock-form {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.lock-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.lock-input:focus {
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.lock-submit {
    padding: 16px 20px;
    background: #5865f2;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lock-submit:hover,
.lock-submit:focus {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
    outline: none;
}

.lock-submit:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.lock-submit:active {
    transform: translateY(0);
}

.lock-message {
    margin-top: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lock-message.error {
    color: #ff5252;
}

.lock-message.success {
    color: #4caf50;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1400px) {
    .accounts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {

    .nav-container,
    .shop-content {
        max-width: 90%;
    }

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

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

    .landing-title {
        font-size: 2.5rem;
    }

    .arrow {
        font-size: 2rem;
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .accounts-grid {
        grid-template-columns: 1fr;
    }

    .landing-title {
        font-size: 2rem;
    }

    .arrow {
        display: none;
    }

    .info-stats {
        gap: 30px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .nav-container,
    .shop-content {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .landing-subtitle {
        font-size: 1rem;
    }

    .platform-card {
        padding: 40px 30px;
    }

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

    .platform-name {
        font-size: 1.4rem;
    }

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

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

    .about-text {
        font-size: 0.85rem;
        padding: 0 15px;
    }
}

/* ============================================
   Reduced Motion Support
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   No Results Message
   ============================================ */

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    display: none;
}

.no-results.active {
    display: block;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.no-results-hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ============================================
   Scroll to Top Button
   ============================================ */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(88, 101, 242, 0.9);
    border: 2px solid #5865f2;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.scroll-to-top.visible {
    display: flex;
}

.scroll-to-top:hover,
.scroll-to-top:focus {
    background: #5865f2;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
    outline: none;
}

.scroll-to-top:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* ============================================
   Improved Touch Feedback
   ============================================ */

@media (hover: none) and (pointer: coarse) {
    .platform-card:active,
    .account-card:active {
        transform: scale(0.98);
    }
    
    .back-btn:active {
        transform: translateX(-2px) scale(0.95);
    }
}