@keyframes pageFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
        body { animation: pageFadeIn 0.3s ease-out; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        
        html { 
            overflow-x: hidden; 
            overflow-y: scroll;
            scrollbar-gutter: stable;
        }
        
        body {
            overflow-x: hidden;
            overflow-y: auto;
            max-width: 100vw;
            font-family: 'Space Grotesk', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            min-height: 100vh;
            color: var(--text-primary);
        }

        .container {
            position: relative;
            z-index: 2;
            max-width: 1600px;
            margin: 0 auto;
            padding: 75px 40px 30px;
        }

        header {
            text-align: center;
            margin-bottom: 50px;
            animation: fadeInDown 0.8s ease;
        }

        @keyframes fadeInDown {
            from { opacity: 0; transform: translateY(-30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .logo-section { margin-bottom: 35px; }

        .logo-icon {
            font-size: 42px;
            margin-bottom: 15px;
            display: inline-block;
        }

        h1 {
            font-family: 'Space Grotesk', 'Noto Sans SC', sans-serif;
            font-size: 2.6rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 6px;
            margin-bottom: 12px;
        }

        .subtitle {
            font-size: 1rem;
            color: var(--text-muted);
            letter-spacing: 3px;
            font-weight: 500;
        }

        .search-container {
            max-width: 650px;
            margin: 0 auto 25px;
            position: relative;
            z-index: 100;
        }

        .search-scroll {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 50px;
            padding: 6px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-sm);
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
            position: relative;
            overflow: hidden;
        }

        .search-scroll::before {
            display: none;
        }

        .search-scroll:focus-within::before { display: none; }

        .search-scroll:focus-within {
            border-color: var(--accent);
            box-shadow: 0 0 0 2px var(--accent-muted);
        }

        .search-input {
            width: 100%;
            padding: 18px 55px;
            font-size: 1.05rem;
            border: none;
            background: transparent;
            font-family: inherit;
            color: var(--text-primary);
            outline: none;
            font-weight: 500;
        }

        .search-input::placeholder { color: var(--text-muted); font-weight: 400; }

        .search-icon {
            position: absolute;
            left: 22px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 1.3rem;
            color: var(--sky-blue);
            transition: all 0.3s ease;
        }

        .search-btn {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: none;
            background: var(--accent);
            color: var(--bg-primary);
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.15s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }

        .search-btn:hover {
            background: var(--accent-hover);
        }
        
        .search-btn:active {
            transform: translateY(-50%) scale(0.95);
        }
        
        .search-btn.searching {
            animation: searchPulse 0.6s ease-in-out infinite;
        }
        
        @keyframes searchPulse {
            0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(135, 206, 235, 0.4); }
            50% { transform: translateY(-50%) scale(1.1); box-shadow: 0 0 20px 5px rgba(135, 206, 235, 0.6); }
        }
        
        .search-results-loading {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 60px 20px;
            color: var(--text-muted);
        }
        
        .search-results-loading .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid var(--glass-border);
            border-top-color: var(--sky-blue);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 15px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .search-scroll:focus-within .search-icon {
            color: var(--amber-gold);
            transform: translateY(-50%) scale(1.2);
        }
        
        .search-scroll {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.3);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(77, 166, 220, 0.15);
        }
        .search-scroll::before {
            background: transparent;
        }
        .search-scroll:focus-within {
            border-color: var(--sky-blue);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 30px rgba(77, 166, 220, 0.4), 0 0 60px rgba(77, 166, 220, 0.2);
        }
        .search-input {
            color: var(--text-primary);
        }
        .search-input::placeholder {
            color: var(--text-muted);
        }
        .search-icon {
            text-shadow: none;
        }

        .stats-bar {
            display: flex;
            justify-content: center;
            gap: 35px;
            flex-wrap: wrap;
        }

        .stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 30px;
            border: 1px solid var(--glass-border);
            font-size: 0.9rem;
            color: var(--text-secondary);
            transition: all 0.3s ease;
        }

        .stat-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px var(--shadow-soft);
        }

        .stat-value { font-weight: 700; color: var(--sky-blue-dark); }

        .section-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .category-tabs {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
        }

        .category-tab {
            padding: 14px 35px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 2px solid var(--glass-border);
            border-radius: 50px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px var(--shadow-soft);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .category-tab:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px var(--shadow-soft);
            border-color: var(--sky-blue);
            color: var(--sky-blue-dark);
        }

        .category-tab.active {
            background: var(--accent);
            color: white;
            border-color: var(--sky-blue);
            box-shadow: 0 6px 20px var(--shadow-blue);
        }

        .category-tab .tab-icon {
            font-size: 1.2rem;
        }

        .section-icon {
            font-size: 1.8rem;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.15); }
        }

        .section-title {
            font-family: 'PingFang SC', 'Microsoft YaHei', serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
            letter-spacing: 2px;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-bottom: 50px;
            align-items: start;
        }

        .game-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 24px;
            overflow: hidden;
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 25px var(--shadow-soft);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            visibility: hidden;
        }
        
        .game-card.loaded {
            visibility: visible;
            animation: cardAppear 0.4s ease forwards;
        }
        
        @keyframes cardAppear {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .game-card::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: var(--accent-subtle);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
            z-index: 1;
        }

        .game-card:hover::before { opacity: 1; }

        .game-card::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 26px;
            background: transparent;
            background-size: 200% 100%;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 0;
        }
        
        .game-card:hover::after {
            opacity: 1;
            animation: borderGlow 2s linear infinite;
        }
        
        @keyframes borderGlow {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .game-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 35px var(--shadow-soft), 0 0 0 2px var(--sky-blue);
        }

        .card-image-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            background: var(--accent-muted);
        }
        
        .card-image-container::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: transparent;
            animation: imageShimmer 1.5s ease-in-out infinite;
            z-index: 1;
            pointer-events: none;
            opacity: 0;
        }
        
        .card-image-container.loading::before {
            opacity: 1;
        }
        
        @keyframes imageShimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .card-image {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .game-card:hover .card-image {
            transform: scale(1.08);
        }

        .image-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: linear-gradient(180deg, transparent 40%, rgba(253, 248, 243, 0.95) 100%);
        }

        .card-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--accent);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            box-shadow: 0 4px 12px var(--shadow-gold);
            letter-spacing: 1px;
        }

        .card-badge.new {
            background: var(--accent);
            box-shadow: 0 4px 12px rgba(139, 126, 200, 0.4);
        }

        .pinned-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            background: var(--accent);
            background-size: 200% 200%;
            
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 700;
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.5);
            z-index: 10;
            text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }

        .card-content {
            padding: 20px 22px 22px;
            position: relative;
            z-index: 2;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-title {
            font-family: 'PingFang SC', 'Microsoft YaHei', serif;
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 12px;
            line-height: 1.4;
            transition: color 0.3s ease;
            height: 2.8em;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .game-card:hover .card-title { color: var(--sky-blue); }
        
        .game-card {
            background: rgba(26, 26, 46, 0.9);
            border: 2px solid rgba(77, 166, 220, 0.2);
        }
        .game-card::before {
            background: transparent;
        }
        .game-card:hover {
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(77, 166, 220, 0.6);
        }
        .game-card:hover::after {
            background: transparent;
        }
        .game-card:hover .card-title {
            text-shadow: none;
        }
        .image-overlay {
            background: linear-gradient(180deg, transparent 40%, rgba(15, 15, 26, 0.95) 100%);
        }

        .download-modal,
        .detail-modal {
            background: rgba(26, 26, 46, 0.98);
            border-color: rgba(77, 166, 220, 0.3);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        }
        .modal-header {
            background: rgba(26, 26, 46, 0.95);
            border-bottom-color: rgba(77, 166, 220, 0.2);
        }
        .modal-title {
            color: var(--text-primary);
        }
        .modal-subtitle {
            color: var(--text-secondary);
        }
        .detail-info {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.2);
        }
        .detail-info-item span:first-child {
            color: var(--text-muted);
        }
        .detail-info-item span:last-child {
            color: var(--text-primary);
        }
        .detail-description {
            color: var(--text-secondary);
        }
        .download-section {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.2);
        }
        .download-section h4 {
            color: var(--text-primary);
        }
        .download-link-box {
            background: var(--surface);
            border-color: rgba(77, 166, 220, 0.4);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        .download-link-box:hover {
            border-color: var(--sky-blue);
            box-shadow: 0 8px 25px rgba(77, 166, 220, 0.3);
        }
        .link-provider {
            color: #7ec8e3;
        }
        .link-url {
            background: rgba(15, 15, 26, 0.8);
            color: #e2e8f0;
            border-color: rgba(77, 166, 220, 0.3);
        }
        .code-label {
            color: #a0aec0;
        }
        .code-value {
            background: var(--accent);
        }
        .copy-btn {
            background: var(--accent);
        }

        .game-comments-section {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid var(--glass-border);
        }
        .comments-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
        }
        .comment-form {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 20px;
        }
        .comment-textarea {
            padding: 12px 15px;
            border: 2px solid var(--glass-border);
            border-radius: 10px;
            background: var(--card-bg);
            color: var(--text-primary);
            font-size: 0.9rem;
            min-height: 80px;
            resize: vertical;
        }
        .submit-comment-btn {
            align-self: flex-end;
            padding: 10px 25px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .submit-comment-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(255, 183, 197, 0.4);
        }
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            max-height: 300px;
            overflow-y: auto;
        }
        .comment-item {
            padding: 15px;
            background: var(--card-bg);
            border-radius: 12px;
            border: 1px solid var(--glass-border);
        }
        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 8px;
        }
        .comment-author {
            font-weight: 600;
            color: var(--sky-blue);
        }
        .comment-time {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        .comment-content {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.5;
        }
        .comment-content img.comment-img {
            max-width: 200px;
            max-height: 200px;
            border-radius: 10px;
            margin-top: 8px;
            cursor: pointer;
        }
        .emoji-picker {
            display: grid;
            grid-template-columns: repeat(8, 1fr);
            gap: 4px;
            padding: 10px;
            background: var(--card-bg);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            max-height: 200px;
            overflow-y: auto;
        }
        .emoji-picker span:hover {
            background: var(--glass-bg);
            border-radius: 6px;
        }
        .loading-comments {
            text-align: center;
            padding: 20px;
            color: var(--text-muted);
        }
        .no-comments {
            text-align: center;
            padding: 20px;
            color: var(--text-muted);
            font-style: italic;
        }
        .comment-textarea {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.3);
        }
        .comment-item {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.2);
        }

        .card-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 8px;
        }

        .tag {
            background: var(--accent);
            color: white;
            padding: 5px 14px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            box-shadow: 0 3px 8px var(--shadow-blue);
            transition: all 0.3s ease;
        }

        .tag.highlight {
            background: var(--accent);
            background-size: 300% 300%;
            
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.5), 0 2px 8px rgba(255, 107, 107, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.4);
            text-shadow: none;
        }

        .tag.highlight::before {
            content: '⭐';
            margin-right: 4px;
        }

        
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .tag:hover {
            transform: scale(1.08);
            box-shadow: 0 4px 12px var(--shadow-blue);
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
            margin-bottom: 18px;
            font-size: 0.9rem;
            color: var(--text-muted);
            flex-shrink: 0;
            min-height: 24px;
        }

        .meta-item { display: flex; align-items: center; gap: 6px; }
        .meta-value { font-weight: 600; color: var(--text-secondary); }
        .meta-item.uploader { 
            margin-left: auto; 
            background: var(--accent-muted);
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.8rem;
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .meta-item.uploader .meta-value { color: var(--primary); font-weight: 500; }

        .quest-button {
            width: 100%;
            padding: 14px;
            background: var(--accent);
            background-size: 200% 100%;
            border: none;
            border-radius: 14px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 6px 20px var(--shadow-gold);
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            margin-top: auto;
            flex-shrink: 0;
        }

        .quest-button::before {
            content: '';
            position: absolute;
            top: 0; left: -100%;
            width: 100%; height: 100%;
            background: transparent;
            transition: left 0.5s ease;
        }

        .quest-button:hover::before { left: 100%; }

        .quest-button:hover {
            background-position: 100% 0;
            transform: scale(1.03);
            box-shadow: 0 10px 30px var(--shadow-gold);
        }

        .quest-button:active { transform: scale(0.98); }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            margin: 40px 0;
            flex-wrap: wrap;
        }

        .pagination-btn {
            min-width: 48px;
            height: 48px;
            padding: 0 18px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 2px solid var(--glass-border);
            border-radius: 14px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 12px var(--shadow-soft);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .pagination-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px var(--shadow-soft);
            border-color: var(--sky-blue);
            color: var(--sky-blue-dark);
        }

        .pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

        .pagination-btn.active {
            background: var(--accent);
            color: white;
            border-color: var(--sky-blue);
            box-shadow: 0 6px 18px var(--shadow-blue);
        }

        .pagination-nav {
            background: var(--accent);
            color: white;
            border-color: var(--amber-gold);
            padding: 0 22px;
        }

        .pagination-nav:hover:not(:disabled) {
            box-shadow: 0 8px 25px var(--shadow-gold);
            border-color: var(--amber-gold);
            color: white;
        }

        .pagination-dots { color: var(--text-muted); font-size: 1.2rem; padding: 0 8px; }
        .pagination-info { color: var(--text-muted); font-size: 0.9rem; margin-left: 15px; }

        .modal-overlay {
            position: fixed;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(74, 74, 72, 0.4);
            backdrop-filter: blur(8px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
        }

        .modal-overlay.active { display: flex; }

        .download-modal {
            background: var(--glass-bg);
            backdrop-filter: blur(30px);
            -webkit-backdrop-filter: blur(30px);
            border-radius: 28px;
            max-width: 480px;
            width: 100%;
            border: 2px solid var(--glass-border);
            box-shadow: 0 15px 40px rgba(74, 74, 72, 0.15);
            animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
            max-height: 90vh;
            overflow-y: auto;
        }

        @keyframes modalSlideIn {
            from { opacity: 0; transform: scale(0.85) translateY(40px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }

        .download-modal::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0;
            height: 5px;
            background: var(--accent);
            background-size: 200% 100%;
            animation: shimmer 3s linear infinite;
        }

        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        .modal-header {
            padding: 25px 28px 20px;
            text-align: center;
            position: relative;
        }

        .modal-title {
            font-family: 'PingFang SC', 'Microsoft YaHei', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            letter-spacing: 2px;
        }

        .modal-subtitle {
            font-size: 0.95rem;
            color: var(--text-muted);
            margin-top: 8px;
        }

        .seal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border: 2px solid var(--glass-border);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 10;
        }

        .seal-close::before {
            content: '✕';
            font-size: 1rem;
            color: var(--text-secondary);
            font-weight: 600;
        }

        .seal-close:hover {
            background: var(--accent);
            border-color: transparent;
            transform: rotate(90deg) scale(1.1);
            box-shadow: 0 4px 15px rgba(255, 183, 197, 0.4);
        }

        .seal-close:hover::before {
            color: white;
        }

        .seal-close {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.3);
        }

        .seal-close::before {
            color: var(--text-secondary);
        }

        .seal-close:hover {
            background: var(--accent);
            border-color: transparent;
        }

        .seal-close:hover::before {
            color: white;
        }

        .modal-body { padding: 0 28px 28px; }

        .treasure-icon {
            text-align: center;
            font-size: 60px;
            margin-bottom: 15px;
            animation: bounce 1.5s ease-in-out infinite;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0) rotate(-3deg); }
            50% { transform: translateY(-8px) rotate(3deg); }
        }

        .download-links { display: flex; flex-direction: column; gap: 16px; }

        .download-link-box {
            background: var(--surface);
            border-radius: 18px;
            padding: 20px;
            border: 2px solid rgba(126, 200, 227, 0.4);
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        }

        .download-link-box:hover {
            border-color: var(--sky-blue);
            transform: translateX(5px);
            box-shadow: 0 8px 25px rgba(126, 200, 227, 0.2);
        }

        .link-provider {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 700;
            color: #2c5282;
            margin-bottom: 12px;
            font-size: 1.1rem;
        }

        .link-url {
            background: #f7fafc;
            padding: 14px 16px;
            border-radius: 12px;
            font-size: 0.9rem;
            color: #2d3748;
            word-break: break-all;
            margin-bottom: 12px;
            border: 1px solid #e2e8f0;
            font-family: 'Consolas', 'Monaco', monospace;
        }

        .link-code {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }

        .code-label { font-weight: 600; color: #4a5568; }

        .code-value {
            background: var(--accent);
            color: white;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: 700;
            letter-spacing: 3px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(212, 168, 75, 0.4);
        }

        .code-value:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 18px rgba(212, 168, 75, 0.5);
        }

        .copy-btn {
            width: 100%;
            padding: 14px;
            background: var(--accent);
            border: none;
            border-radius: 14px;
            font-family: inherit;
            font-size: 1rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px var(--shadow-blue);
        }

        .copy-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px var(--shadow-blue);
        }

        .copy-btn.copied { background: var(--success); }

        .detail-modal { max-width: 900px !important; }
        .download-modal.detail-modal { max-width: 900px !important; }

        .download-modal::before,
        .detail-modal::before {
            background: var(--accent);
        }

        .detail-video {
            width: 100%;
            aspect-ratio: 16/9;
            background: var(--surface);
            border-radius: 16px;
            margin-bottom: 25px;
            overflow: hidden;
            border: 2px solid var(--glass-border);
            position: relative;
            min-height: 200px;
        }

        .detail-video iframe { 
            width: 100%; 
            height: 100%; 
            border: none; 
            position: absolute;
            top: 0;
            left: 0;
        }

        .video-placeholder {
            width: 100%; height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #888;
        }

        .video-placeholder span { font-size: 3rem; margin-bottom: 10px; }

        .detail-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 12px;
            margin-bottom: 25px;
        }

        .gallery-item {
            aspect-ratio: 16/9;
            border-radius: 12px;
            overflow: hidden;
            border: 2px solid var(--glass-border);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-item:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 20px var(--shadow-soft);
        }

        .gallery-item img { width: 100%; height: 100%; object-fit: cover; }

        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            padding: 40px;
        }

        .lightbox-overlay.active { display: flex; }

        .lightbox-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
        }

        .lightbox-image {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            animation: lightboxIn 0.3s ease;
        }

        @keyframes lightboxIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .lightbox-close {
            position: absolute;
            top: -50px;
            right: 0;
            width: 44px;
            height: 44px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
            font-size: 1.2rem;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: rotate(90deg);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
            font-size: 1.3rem;
        }

        .lightbox-nav:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .lightbox-prev { left: -70px; }
        .lightbox-next { right: -70px; }

        .lightbox-counter {
            position: absolute;
            bottom: -40px;
            left: 50%;
            transform: translateX(-50%);
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .detail-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 25px;
        }

        .info-box {
            background: rgba(126, 200, 227, 0.08);
            border-radius: 16px;
            padding: 18px;
            border: 1px solid rgba(126, 200, 227, 0.2);
        }

        .info-box-title {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }

        .info-box-content {
            font-size: 1.15rem;
            color: var(--text-primary);
            font-weight: 700;
        }

        .info-box-content.small {
            font-size: 0.9rem;
            font-weight: 500;
            line-height: 1.6;
        }

        .rating-stars { color: var(--amber-gold); font-size: 1.2rem; }

        .detail-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 25px;
        }

        .detail-tag {
            background: var(--accent);
            color: white;
            padding: 8px 18px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            box-shadow: 0 3px 10px var(--shadow-blue);
        }

        .detail-tag.highlight {
            background: var(--accent);
            background-size: 300% 300%;
            
            box-shadow: 0 0 10px rgba(255, 215, 0, 0.5), 0 2px 10px rgba(255, 107, 107, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.5);
            text-shadow: none;
        }

        .detail-tag.highlight::before {
            content: '⭐ ';
        }

        .detail-description {
            background: rgba(232, 184, 109, 0.08);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
            border-left: 4px solid var(--amber-gold);
            line-height: 1.8;
            color: var(--text-secondary);
        }

        .accept-mission-btn {
            width: 100%;
            padding: 16px;
            background: var(--accent);
            background-size: 200% 100%;
            border: none;
            border-radius: 16px;
            font-family: inherit;
            font-size: 1.1rem;
            font-weight: 700;
            color: white;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 25px var(--shadow-gold);
            letter-spacing: 1px;
        }

        .accept-mission-btn:hover {
            background-position: 100% 0;
            transform: translateY(-2px);
            box-shadow: 0 12px 35px var(--shadow-gold);
        }
        
        .skeleton-card {
            break-inside: avoid;
            margin-bottom: 20px;
            background: var(--card-bg);
            border-radius: 16px;
            overflow: hidden;
            border: 2px solid var(--glass-border);
        }
        .skeleton-card-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
        }
        .skeleton-card-content { padding: 12px 15px; }
        .skeleton-card-title {
            width: 70%;
            height: 16px;
            background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 4px;
            margin-bottom: 8px;
        }
        .skeleton-card-meta {
            width: 50%;
            height: 12px;
            background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 4px;
        }
        @keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
        html:not([data-theme="light"]) .skeleton-card-image,
        html:not([data-theme="light"]) .skeleton-card-title,
        html:not([data-theme="light"]) .skeleton-card-meta {
            background: linear-gradient(90deg, #2a2a3e 25%, #3a3a4e 50%, #2a2a3e 75%);
            background-size: 200% 100%;
        }
        
        .masonry-card {
            opacity: 1;
            transform: translateY(0);
        }

        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 80px 20px;
        }

        .no-results-icon { font-size: 70px; margin-bottom: 20px; opacity: 0.6; }
        .no-results-text { font-size: 1.4rem; color: var(--text-secondary); margin-bottom: 10px; font-weight: 600; }
        .no-results-hint { color: var(--text-muted); }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--bg-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 99999;
            transition: opacity 0.3s ease;
        }

        .loading-overlay.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .page-transition-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 999999;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .page-transition-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        .page-transition-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--accent);
        }

        .page-transition-card {
            position: absolute;
            background: var(--card-bg);
            border-radius: 20px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            transform: scale(0.8);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .page-transition-overlay.active .page-transition-card {
            transform: scale(1);
            opacity: 1;
        }

        .page-transition-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .page-transition-ripple {
            position: absolute;
            border-radius: 50%;
            background: transparent;
            transform: scale(0);
            animation: ripple-expand 0.6s ease-out forwards;
        }

        @keyframes ripple-expand {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(4);
                opacity: 0;
            }
        }

        .masonry-card.clicking {
            transform: scale(0.95) !important;
            opacity: 0.8 !important;
            transition: all 0.15s ease !important;
        }

        .page-transition-particles {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
        }

        .transition-particle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: var(--sakura-pink);
            border-radius: 50%;
            opacity: 0;
            animation: particle-burst 0.8s ease-out forwards;
        }

        @keyframes particle-burst {
            0% {
                transform: translate(0, 0) scale(1);
                opacity: 1;
            }
            100% {
                transform: translate(var(--tx), var(--ty)) scale(0);
                opacity: 0;
            }
        }

        .loading-content {
            text-align: center;
        }

        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid var(--glass-border);
            border-top-color: var(--primary);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .loading-text {
            font-size: 1.2rem;
            color: var(--text-secondary);
            font-weight: 500;
        }

        footer {
            text-align: center;
            padding: 30px;
            color: var(--text-muted);
            font-size: 0.9rem;
        }

        .footer-text { opacity: 0.8; }

        .footer-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .footer-btn {
            padding: 12px 28px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border: 2px solid var(--glass-border);
            border-radius: 30px;
            font-family: inherit;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 15px var(--shadow-soft);
        }

        .footer-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px var(--shadow-soft);
            border-color: var(--sky-blue);
            color: var(--sky-blue-dark);
        }

        .contact-modal { max-width: 400px; }

        .contact-qrcode {
            background: rgba(255, 255, 255, 0.8);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 20px;
            border: 2px dashed var(--sky-blue-light);
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 250px;
        }

        .contact-qrcode img {
            max-width: 200px;
            max-height: 200px;
            border-radius: 12px;
        }

        .qrcode-placeholder { text-align: center; color: var(--text-muted); }
        .qrcode-placeholder span { font-size: 3rem; display: block; margin-bottom: 15px; }
        .qrcode-placeholder p { margin: 5px 0; }
        .qrcode-hint { font-size: 0.85rem; opacity: 0.7; }
        .contact-tip { text-align: center; color: var(--text-secondary); font-size: 0.95rem; }

        .how-to-use-content { display: flex; flex-direction: column; gap: 20px; }

        .use-step {
            display: flex;
            align-items: flex-start;
            gap: 18px;
            padding: 18px;
            background: rgba(126, 200, 227, 0.08);
            border-radius: 16px;
            border: 1px solid rgba(126, 200, 227, 0.2);
            transition: all 0.3s ease;
        }

        .use-step:hover {
            background: rgba(126, 200, 227, 0.12);
            transform: translateX(5px);
        }

        .step-num {
            width: 40px;
            height: 40px;
            background: var(--accent);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.1rem;
            flex-shrink: 0;
            box-shadow: 0 4px 12px var(--shadow-blue);
        }

        .step-content h4 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 6px; font-weight: 700; }
        .step-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; }

        .external-link-section { margin-top: 25px; text-align: center; }

        .external-link-btn {
            display: inline-block;
            padding: 14px 30px;
            background: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 14px;
            font-weight: 700;
            font-size: 1rem;
            box-shadow: 0 6px 20px var(--shadow-gold);
            transition: all 0.3s ease;
        }

        .external-link-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px var(--shadow-gold);
        }

        @media (max-width: 1200px) {
            .container { padding: 20px; }
            .games-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 900px) {
            .games-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .container { padding: 15px; padding-bottom: 160px; }
            h1 { font-size: 1.5rem; letter-spacing: 2px; }
            .main-content-wrapper { margin-left: 0; margin-top: 20px; }
            .games-grid { grid-template-columns: 1fr; gap: 15px; }
            .game-card { border-radius: 16px; }
            .card-image-container { min-height: 120px; }
            .card-content { padding: 14px; }
            .card-title { font-size: 1rem; }
            .card-tags { gap: 4px; margin-bottom: 8px; }
            .tag { font-size: 0.7rem; padding: 3px 8px; }
            .card-meta { font-size: 0.8rem; }
            .quest-button { padding: 8px 16px; font-size: 0.85rem; }
            .stats-bar { gap: 10px; flex-wrap: wrap; }
            .stat-item { padding: 6px 12px; font-size: 0.8rem; }
            .category-tabs { gap: 8px; flex-wrap: wrap; }
            .category-tab { padding: 8px 16px; font-size: 0.8rem; }
            .pagination { gap: 6px; }
            .pagination-btn { min-width: 36px; height: 36px; font-size: 0.85rem; }
            .pagination-nav { padding: 0 12px; font-size: 0.8rem; }
            .detail-info-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .info-box { padding: 12px; }
            .info-box-title { font-size: 0.75rem; margin-bottom: 4px; }
            .info-box-content { font-size: 0.95rem; }
            .detail-tags { margin-top: 10px; }
            .detail-tag { font-size: 0.7rem; padding: 4px 8px; }
            .detail-gallery { grid-template-columns: repeat(2, 1fr); }
            .detail-modal { max-width: 100%; }
            .detail-video { min-height: 180px; }
            .detail-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

        .new-releases-grid { flex-direction: column; }
            .new-releases-grid .masonry-column { width: 100%; }
            .new-releases-grid .masonry-card .card-image-wrapper {
                height: auto !important;
                max-height: none !important;
            }
            .new-releases-grid .masonry-card .card-image-wrapper img {
                height: auto !important;
                max-height: none !important;
                object-fit: contain !important;
            }
        }

        .fade-in { animation: fadeInUp 0.6s ease forwards; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(25px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* MOD鉴赏官招募侧边栏 - 图片版 */
        .mod-sidebar {
            position: fixed;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            max-width: 280px;
            max-height: 70vh;
            z-index: 100;
            transition: all 0.3s ease;
        }
        .mod-sidebar:hover {
            transform: translateY(-50%) scale(1.02);
        }
        .mod-sidebar.hidden {
            transform: translateY(-50%) translateX(-350px);
            opacity: 0;
            pointer-events: none;
        }
        .mod-sidebar-link {
            display: block;
            text-decoration: none;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 40px var(--shadow-soft);
            transition: all 0.3s ease;
            border: 2px solid var(--glass-border);
        }
        .mod-sidebar-link:hover {
            box-shadow: 0 15px 50px var(--shadow-blue);
            border-color: var(--primary);
        }
        .mod-sidebar-image {
            width: 100%;
            height: auto;
            display: block;
            max-height: 70vh;
            object-fit: contain;
        }
        .mod-sidebar-close {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 32px;
            height: 32px;
            border: none;
            background: rgba(0, 0, 0, 0.6);
            border-radius: 50%;
            color: white;
            font-size: 1.4rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
        }
        .mod-sidebar-close:hover {
            background: rgba(255, 107, 107, 0.9);
            transform: scale(1.1);
        }
        
        .mod-sidebar-placeholder {
            width: 100%;
            min-height: 200px;
            background: var(--accent-muted);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 30px 20px;
            text-align: center;
        }
        
        .placeholder-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .placeholder-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
        }
        
        .placeholder-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        @media (max-width: 768px) {
            .mod-sidebar {
                display: none;
            }
            .mod-sidebar-image {
                max-width: 200px;
                max-height: 40vh;
            }
            .mobile-game-cover-wrapper {
                min-height: 80px;
            }
            .mobile-game-cover {
                min-height: 80px;
                object-fit: contain;
            }
        }

        .ranking-tabs {
            display: flex;
            gap: 15px;
            margin-bottom: 25px;
            justify-content: center;
        }

        .ranking-tab {
            padding: 12px 30px;
            border: 2px solid var(--sky-blue);
            border-radius: 25px;
            background: transparent;
            color: var(--sky-blue-dark);
            font-family: inherit;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .ranking-tab:hover {
            background: rgba(126, 200, 227, 0.1);
        }

        .ranking-tab.active {
            background: var(--accent);
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 15px var(--shadow-blue);
        }

        .ranking-list {
            display: grid;
            gap: 15px;
        }

        .ranking-item {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 20px;
            border: 1px solid var(--glass-border);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .ranking-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px var(--shadow-soft);
            border-color: var(--sky-blue);
        }

        .ranking-position {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 1.5rem;
            font-weight: 700;
            flex-shrink: 0;
        }

        .ranking-item:nth-child(1) .ranking-position {
            background: var(--accent);
            color: white;
            box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
        }

        .ranking-item:nth-child(2) .ranking-position {
            background: var(--text-muted);
            color: white;
            box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
        }

        .ranking-item:nth-child(3) .ranking-position {
            background: var(--accent);
            color: white;
            box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
        }

        .ranking-item:nth-child(n+4) .ranking-position {
            background: var(--cream-light);
            color: var(--text-secondary);
            border: 2px solid var(--glass-border);
        }

        .ranking-cover {
            width: 100px;
            height: 60px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            border: 2px solid var(--glass-border);
        }

        .ranking-info {
            flex: 1;
            min-width: 0;
        }

        .ranking-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .ranking-meta {
            display: flex;
            gap: 15px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .ranking-stat {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .ranking-badge {
            padding: 4px 12px;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--accent);
            color: white;
        }

        @media (max-width: 768px) {
            .ranking-tabs {
                flex-direction: column;
                align-items: stretch;
            }
            .ranking-item {
                padding: 15px;
                gap: 12px;
            }
            .ranking-cover {
                width: 70px;
                height: 45px;
            }
            .ranking-position {
                width: 40px;
                height: 40px;
                font-size: 1.2rem;
            }
        }

        .main-content-wrapper {
            display: flex;
            gap: 15px;
            position: relative;
            margin-left: -170px;
            margin-top: 70px;
            align-items: flex-start;
        }

        .main-content-area {
            flex: 1;
            min-width: 0;
        }

        @media (max-width: 1200px) {
            .main-content-wrapper {
                flex-direction: column;
                margin-left: 0;
                margin-top: 20px;
            }
            .mobile-sidebar {
                display: flex !important;
            }
            .mobile-sidebar-toggle {
                display: flex !important;
            }
            .container {
                padding: 15px;
                padding-bottom: 80px;
            }
            .games-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 900px) {
            .main-content-wrapper {
                margin-left: 0;
            }
            .games-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .mobile-sidebar-toggle {
                display: flex !important;
            }
            .container {
                padding-bottom: 80px;
            }
        }

        @media (max-width: 600px) {
            .games-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .container {
                padding: 10px;
                padding-bottom: 80px;
            }
            header {
                margin-bottom: 20px;
            }
            h1 {
                font-size: 1.3rem;
            }
            .category-tabs {
                gap: 6px;
            }
            .category-tab {
                padding: 6px 12px;
                font-size: 0.75rem;
            }
            .search-container {
                padding: 0;
            }
            .search-input {
                font-size: 0.9rem;
            }
            .game-card {
                min-width: 0;
            }
            .card-content {
                min-height: auto;
            }
            .card-title {
                font-size: 0.75rem;
                height: auto;
                min-height: 2.8em;
            }
            .card-image-container {
                min-height: 100px;
            }
            .card-tags {
                min-height: auto;
                gap: 4px;
            }
            .tag {
                font-size: 0.6rem;
                padding: 2px 5px;
            }
            .card-meta {
                font-size: 0.7rem;
                margin-bottom: 8px;
            }
            .meta-item.uploader {
                font-size: 0.65rem;
                padding: 2px 6px;
            }
            .quest-button {
                padding: 6px 10px;
                font-size: 0.75rem;
            }
            .mobile-nav {
                display: flex !important;
            }
            .mobile-sidebar {
                display: flex !important;
            }
            .mobile-sidebar-toggle {
                display: flex !important;
            }
            .footer-buttons {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 10px;
            }
            .footer-btn {
                padding: 8px 16px;
                font-size: 0.8rem;
            }
            .fade-in {
                animation: none;
                opacity: 1;
            }
        }

        .mod-section-intro {
            text-align: center;
            padding: 20px;
            color: var(--text-muted);
            font-size: 1rem;
        }

        .mod-games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
            padding: 20px 0;
        }

        .mod-game-card {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            border: 1px solid var(--glass-border);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mod-game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px var(--shadow-soft);
            border-color: var(--sky-blue);
        }

        .mod-game-cover {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

        .mod-game-info {
            padding: 20px;
        }

        .mod-game-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .mod-game-count {
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        .mod-list-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
        }

        .mod-list-header .back-btn {
            padding: 10px 20px;
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            cursor: pointer;
            font-size: 0.9rem;
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .mod-list-header .back-btn:hover {
            background: var(--sky-blue-light);
            border-color: var(--sky-blue);
        }

        .mod-game-title {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .mod-search-bar {
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
            border: 1px solid var(--glass-border);
        }

        .mod-search-input {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid rgba(126, 200, 227, 0.2);
            border-radius: 12px;
            font-size: 1rem;
            margin-bottom: 15px;
            transition: all 0.3s ease;
        }

        .mod-search-input:focus {
            outline: none;
            border-color: var(--sky-blue);
            box-shadow: 0 0 0 3px var(--shadow-blue);
        }

        .mod-tags {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .mod-tag {
            padding: 8px 16px;
            border-radius: 20px;
            border: 1px solid var(--sky-blue);
            background: transparent;
            color: var(--sky-blue-dark);
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mod-tag:hover {
            background: rgba(126, 200, 227, 0.1);
        }

        .mod-tag.active {
            background: var(--accent);
            color: white;
            border-color: transparent;
        }

        .mod-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .mod-item {
            display: flex;
            gap: 20px;
            background: var(--glass-bg);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 20px;
            border: 1px solid var(--glass-border);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mod-item:hover {
            transform: translateX(5px);
            border-color: var(--sky-blue);
            box-shadow: 0 4px 15px var(--shadow-soft);
        }

        .mod-item-cover {
            width: 120px;
            height: 80px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
        }

        .mod-item-info {
            flex: 1;
        }

        .mod-item-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .mod-item-meta {
            display: flex;
            gap: 15px;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 8px;
        }

        .mod-item-desc {
            font-size: 0.9rem;
            color: var(--text-secondary);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .mod-item-tag {
            padding: 4px 10px;
            border-radius: 10px;
            font-size: 0.75rem;
            background: var(--accent);
            color: white;
        }

        .mod-detail-modal {
            max-width: 800px;
            max-height: 90vh;
        }

        .mod-detail-content {
            overflow-y: auto;
            max-height: calc(90vh - 80px);
        }

        .mod-detail-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 25px;
        }

        .mod-detail-gallery img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 12px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .mod-detail-gallery img:hover {
            transform: scale(1.05);
        }

        .mod-detail-info {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .mod-info-item {
            background: rgba(126, 200, 227, 0.08);
            padding: 15px;
            border-radius: 12px;
            text-align: center;
        }

        .mod-info-label {
            display: block;
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 5px;
        }

        .mod-info-value {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .mod-detail-section {
            margin-bottom: 25px;
        }

        .mod-detail-section h4 {
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--sky-blue-light);
        }

        .mod-detail-desc, .mod-detail-tutorial {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.8;
            white-space: pre-wrap;
        }

        .mod-download-section {
            background: var(--accent-subtle);
            padding: 20px;
            border-radius: 16px;
            border: 2px dashed var(--sky-blue-light);
        }

        .mod-download-section h4 {
            margin-bottom: 15px;
        }

        .mod-download-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background: var(--glass-bg);
            border-radius: 12px;
            margin-bottom: 10px;
            border: 1px solid var(--glass-border);
        }

        .mod-download-item:last-child {
            margin-bottom: 0;
        }

        .mod-download-provider {
            font-weight: 600;
            color: var(--text-primary);
        }

        .mod-download-btn {
            padding: 10px 25px;
            background: var(--accent);
            border: none;
            border-radius: 10px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mod-download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px var(--shadow-gold);
        }

        @media (max-width: 768px) {
            .mod-games-grid {
                grid-template-columns: 1fr;
            }
            .mod-item {
                flex-direction: column;
            }
            .mod-item-cover {
                width: 100%;
                height: 150px;
            }
            .mod-detail-info {
                grid-template-columns: 1fr;
            }
            .mod-detail-gallery {
                grid-template-columns: 1fr;
            }
        }

        ::-webkit-scrollbar { width: 10px; }
        ::-webkit-scrollbar-track { background: var(--cream-light); }
        ::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

        * {
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
        }
        
        *:focus {
            outline: none;
        }

        .mobile-category-nav {
            display: none;
            grid-template-columns: repeat(5, 1fr);
            gap: 12px;
            margin: 16px;
            padding: 16px;
            background: var(--surface);
            border-radius: 24px;
            border: 1px solid var(--border);
            box-shadow: var(--shadow-md);
        }

        .mobile-category-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            
            gap: 10px;
            padding: 16px 8px;
            background: var(--surface);
            border-radius: 20px;
            text-decoration: none;
            color: var(--text-primary);
            transition: border-color 0.15s ease, background 0.15s ease;
            border: 1px solid var(--border);
            box-shadow: 
                0 4px 15px rgba(255, 183, 197, 0.1),
                0 2px 6px rgba(126, 200, 227, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
            position: relative;
            overflow: hidden;
        }

        .mobile-category-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, 
                rgba(255, 183, 197, 0.1) 0%, 
                rgba(126, 200, 227, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-category-item:hover::before,
        .mobile-category-item:active::before {
            opacity: 1;
        }

        .mobile-category-item:hover {
            transform: translateY(-4px);
            box-shadow: 
                0 12px 30px rgba(255, 183, 197, 0.25),
                0 6px 15px rgba(126, 200, 227, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 1);
        }

        .mobile-category-item:active {
            transform: translateY(-2px) scale(0.98);
        }

        .category-icon-wrapper {
            width: 52px;
            height: 52px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .mobile-category-item[data-category="pc"] .category-icon-wrapper {
            background: var(--accent);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }

        .mobile-category-item[data-category="android"] .category-icon-wrapper {
            background: var(--success);
            box-shadow: 0 6px 20px rgba(56, 239, 125, 0.4);
        }

        .mobile-category-item[data-category="emulator"] .category-icon-wrapper {
            background: var(--error);
            box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
        }

        .mobile-category-item[data-category="mods"] .category-icon-wrapper {
            background: var(--info);
            box-shadow: 0 6px 20px rgba(79, 172, 254, 0.45);
        }

        .category-icon {
            width: 26px;
            height: 26px;
            color: white;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .mobile-category-item:hover .category-icon-wrapper {
            transform: scale(1.08) rotate(3deg);
        }

        .mobile-category-text {
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--text-primary);
            position: relative;
            z-index: 1;
            letter-spacing: 0.3px;
        }

        .mobile-category-nav {
            background: linear-gradient(145deg, 
                rgba(40, 40, 60, 0.95), 
                rgba(30, 30, 50, 0.9));
            border-color: rgba(100, 100, 150, 0.3);
            box-shadow: 
                0 10px 40px rgba(0, 0, 0, 0.4),
                0 2px 6px rgba(0, 212, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
        }

        .mobile-category-item {
            background: linear-gradient(145deg, 
                rgba(40, 40, 60, 0.9), 
                rgba(30, 30, 50, 0.8));
            border-color: rgba(100, 100, 150, 0.2);
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.3),
                0 2px 6px rgba(0, 212, 255, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
        }

        .mobile-category-item:hover {
            box-shadow: 
                0 12px 30px rgba(0, 0, 0, 0.5),
                0 6px 15px rgba(0, 212, 255, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
        }

        .mobile-category-text {
            color: var(--text-primary);
        }

        .mobile-games-section {
            display: none;
        }

        .mobile-games-grid {
            column-count: 1;
            column-gap: 15px;
            padding-bottom: 20px;
        }

        .mobile-game-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 30px var(--shadow-soft);
            border: 2px solid var(--glass-border);
            background: var(--card-bg);
            display: inline-block;
            width: 100%;
            break-inside: avoid;
            margin-bottom: 15px;
        }

        .mobile-game-card.loading {
            opacity: 0.7;
        }

        .mobile-game-card.loaded {
            opacity: 1;
            animation: cardAppear 0.4s ease forwards;
        }

        @keyframes cardAppear {
            from { opacity: 0.7; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .mobile-game-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px var(--shadow-soft), 0 0 0 2px var(--sakura-pink);
        }

        .mobile-game-card .card-border-svg {
            position: absolute;
            top: -2px;
            left: -2px;
            width: calc(100% + 4px);
            height: calc(100% + 4px);
            pointer-events: none;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .mobile-game-card:hover .card-border-svg {
            opacity: 1;
        }

        .mobile-game-card .card-border-svg rect {
            fill: none;
            stroke: var(--sakura-pink);
            stroke-width: 3;
            stroke-linecap: round;
            stroke-dasharray: 15 600;
            stroke-dashoffset: 0;
        }

        .mobile-game-card:hover .card-border-svg rect {
            stroke: var(--sakura-pink);
        }

        .mobile-game-card .card-shine {
            display: none;
        }

        .mobile-game-card {
            border-color: rgba(77, 166, 220, 0.2);
            background: rgba(26, 26, 46, 0.9);
        }

        .mobile-game-card:hover {
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(77, 166, 220, 0.6);
        }

        .mobile-game-card:hover .card-border-svg rect {
            stroke: var(--sky-blue);
        }

        .mobile-game-cover-wrapper {
            width: 100%;
            overflow: hidden;
            position: relative;
            background: var(--accent-subtle);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 80px;
        }

        .cover-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--card-bg);
            min-height: 150px;
            width: 100%;
            font-size: 3rem;
            opacity: 0.5;
        }

        .mobile-game-cover {
            width: 100%;
            height: auto;
            max-width: 100%;
            display: block;
            transition: transform 0.6s ease;
            object-fit: contain;
            background: transparent;
        }

        .mobile-game-card:hover .mobile-game-cover {
            transform: scale(1.08);
        }

        .mobile-game-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                transparent 40%,
                rgba(255, 255, 255, 0.3) 50%,
                transparent 60%
            );
            transform: translateX(-100%) rotate(45deg);
            pointer-events: none;
            z-index: 10;
            border-radius: 16px;
        }

        .mobile-game-card:hover::after {
            animation: diagonalShineMobile 0.8s ease-in-out forwards;
        }

        @keyframes diagonalShineMobile {
            0% { transform: translateX(-100%) rotate(45deg); }
            100% { transform: translateX(100%) rotate(45deg); }
        }

        .mobile-game-info {
            padding: 12px 15px;
            background: var(--card-bg);
            position: relative;
            z-index: 2;
        }

        .mobile-game-info {
            background: rgba(26, 26, 46, 0.95);
        }

        .mobile-game-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .mobile-game-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
        }

        .mobile-game-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 4px 10px;
            background: var(--accent);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(255, 183, 197, 0.5);
            z-index: 2;
        }

        .mobile-game-card.has-highlight:hover .card-border-svg .light1 {
            stroke: #FF69B4;
            stroke-width: 4;
            stroke-dasharray: 8 600;
            animation: borderRunHighlight1 1.2s linear infinite;
            filter: drop-shadow(0 0 8px #FF69B4) drop-shadow(0 0 15px #FF69B4);
        }

        .mobile-game-card.has-highlight:hover .card-border-svg .light2 {
            stroke: #00BFFF;
            stroke-width: 4;
            stroke-dasharray: 8 600;
            animation: borderRunHighlight2 1.2s linear infinite;
            animation-delay: -0.3s;
            filter: drop-shadow(0 0 8px #00BFFF) drop-shadow(0 0 15px #00BFFF);
        }

        .mobile-game-card.has-highlight:hover .card-border-svg .light3 {
            stroke: #FFD700;
            stroke-width: 4;
            stroke-dasharray: 8 600;
            animation: borderRunHighlight3 1.2s linear infinite;
            animation-delay: -0.6s;
            filter: drop-shadow(0 0 8px #FFD700) drop-shadow(0 0 15px #FFD700);
        }

        @keyframes borderRunHighlight1 {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: -600; }
        }

        @keyframes borderRunHighlight2 {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: -600; }
        }

        @keyframes borderRunHighlight3 {
            0% { stroke-dashoffset: 0; }
            100% { stroke-dashoffset: -600; }
        }

        .mobile-game-card.has-highlight:hover {
            box-shadow: 
                0 0 25px rgba(255, 105, 180, 0.6),
                0 0 50px rgba(0, 191, 255, 0.5),
                0 0 75px rgba(255, 215, 0, 0.4),
                0 0 100px rgba(255, 105, 180, 0.3);
        }

        .mobile-game-card:hover .card-border-svg rect {
            stroke: var(--sakura-pink);
        }

        .mobile-load-more {
            display: block;
            width: 100%;
            padding: 15px;
            margin-top: 15px;
            background: var(--accent);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .mobile-load-more:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px var(--shadow-soft);
        }

        .pc-only-section {
            display: block;
        }

        @media (max-width: 768px) {
            .featured-section {
                display: none !important;
            }
            .mobile-category-nav {
                display: grid;
            }
            .mobile-games-section {
                display: block;
            }
            .pc-only-section {
                display: none !important;
            }
        }

        .mobile-sidebar-specs-content {
            padding: 15px;
            overflow-y: auto;
        }

        .phone-specs-section {
            background: rgba(255, 240, 245, 0.5);
            border-radius: 12px;
            padding: 12px;
            margin-bottom: 12px;
            border: 1px dashed rgba(255, 150, 180, 0.3);
        }

        .phone-specs-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .phone-specs-modal.active {
            display: flex;
            opacity: 1;
        }

        .phone-specs-modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .phone-specs-modal-img {
            max-width: 100%;
            max-height: 85vh;
            border-radius: 12px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
        }

        .phone-specs-modal-close {
            position: absolute;
            top: -40px;
            right: 0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
        }

        .phone-specs-modal-close:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.1);
        }

        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(26, 26, 46, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 2px solid rgba(255, 255, 255, 0.15);
            z-index: 1000;
            padding: 0 20px;
        }
        .top-nav-inner {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 55px;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: #e8e8e8;
        }
        .nav-logo-icon {
            font-size: 1.5rem;
        }
        .nav-logo-text {
            font-weight: 700;
            font-size: 1rem;
            color: #e8e8e8;
        }
        .nav-links {
            display: flex;
            gap: 5px;
        }
        .nav-link {
            padding: 6px 12px;
            border-radius: 16px;
            text-decoration: none;
            color: #b8b8b8;
            font-size: 0.8rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        .nav-link:hover {
            background: rgba(77, 166, 220, 0.3);
            color: #e8e8e8;
        }
        .nav-link.active {
            background: #4da6dc;
            color: white;
            box-shadow: 0 1px 2px rgba(0,0,0,0.3);
        }
        a[href="/pc"].nav-link { border: 2px solid #7EC8E3; }
        a[href="/pc"].nav-link:hover, a[href="/pc"].nav-link.active { background: #4da6dc; color: white; }
        a[href="/android"].nav-link { border: 2px solid #4CAF50; }
        a[href="/android"].nav-link:hover, a[href="/android"].nav-link.active { background: #4da6dc; color: white; }
        a[href="/emulator"].nav-link { border: 2px solid #9C27B0; }
        a[href="/emulator"].nav-link:hover, a[href="/emulator"].nav-link.active { background: #4da6dc; color: white; }
        a[href="/mods"].nav-link { border: 2px solid #FF9800; }
        a[href="/mods"].nav-link:hover, a[href="/mods"].nav-link.active { background: #4da6dc; color: white; }
        a[href="/tools"].nav-link { border: 2px solid #00BCD4; }
        a[href="/tools"].nav-link:hover, a[href="/tools"].nav-link.active { background: #4da6dc; color: white; }
        a[href="/community"].nav-link { border: 2px solid #FF6B9D; }
        a[href="/community"].nav-link:hover, a[href="/community"].nav-link.active { background: #4da6dc; color: white; }
        .nav-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .user-entry {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(26,26,46,0.9);
            color: #e8e8e8;
            font-size: 0.85rem;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        .user-entry:hover { border-color: #4da6dc; background: rgba(0,212,255,0.1); }
        #userEntryIcon {
            width: 22px; height: 22px; border-radius: 50%;
            background: #4da6dc;
            display: flex; align-items: center; justify-content: center;
            font-size: 0.7rem; font-weight: 700; color: white; flex-shrink: 0;
        }
        .curator-icon { font-size: 1rem; }
        .curator-text { display: none; }
        @media (min-width: 768px) { .curator-text { display: inline; } }
        .theme-toggle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid rgba(77,166,220,0.3);
            background: rgba(26,26,46,0.9);
            color: #FFD700;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .theme-toggle:hover {
            transform: scale(1.15) rotate(15deg);
            box-shadow: 0 0 20px rgba(255,215,0,0.5);
        }
        
        .featured-section {
            margin-bottom: 40px;
            padding-top: 20px;
            position: relative;
            z-index: 1;
        }
        .featured-carousel {
            position: relative;
            width: 100%;
            aspect-ratio: 16/7;
            border-radius: 24px;
            overflow: visible;
            box-shadow: 0 10px 30px var(--shadow-soft);
            border: 3px solid var(--glass-border);
            transition: all 0.3s ease;
        }
        .featured-carousel-inner {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 21px;
            overflow: hidden;
        }
        .featured-carousel::before {
            content: '';
            position: absolute;
            top: -4px;
            left: -4px;
            right: -4px;
            bottom: -4px;
            border-radius: 28px;
            background: var(--accent);
            z-index: -1;
        }
        .featured-carousel::after {
            display: none;
        }
        .featured-carousel::before {
            display: none;
        }
        .featured-carousel {
            border-color: rgba(77, 166, 220, 0.3);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }
        .featured-carousel:hover {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        .featured-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.8s ease-in-out, transform 0.1s ease-out;
            cursor: pointer;
            transform-style: preserve-3d;
            perspective: 1000px;
        }
        .featured-slide.active {
            opacity: 1;
            pointer-events: auto;
        }
        .featured-slide img {
            width: 100%;
            height: 100%;
            object-fit: fill;
            transition: transform 0.3s ease-out;
        }
        .featured-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
            pointer-events: none;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .featured-slide:hover::before {
            opacity: 1;
        }
        .featured-slide .shine {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            pointer-events: none;
            z-index: 2;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .featured-slide:hover .shine {
            opacity: 1;
        }
        .featured-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 40px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
        }
        .featured-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }
        .featured-desc {
            font-size: 1rem;
            opacity: 0.9;
            max-width: 600px;
            line-height: 1.6;
        }
        .featured-dots {
            position: absolute;
            bottom: 20px;
            right: 40px;
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        .featured-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .featured-dot.active {
            background: white;
            transform: scale(1.2);
        }
        
        .category-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-bottom: 30px;
            padding: 0 20px;
        }
        .category-filter-btn {
            padding: 10px 20px;
            border-radius: 25px;
            border: 2px solid var(--glass-border);
            background: var(--glass-bg);
            color: var(--text-secondary);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .category-filter-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: transparent;
            transition: left 0.5s ease;
        }
        .category-filter-btn:hover::before {
            left: 100%;
        }
        .category-filter-btn:hover {
            border-color: var(--sky-blue);
            color: var(--sky-blue);
            transform: translateY(-2px);
        }
        .category-filter-btn.active {
            background: var(--accent);
            color: white;
            border-color: transparent;
            box-shadow: 0 4px 15px var(--shadow-blue);
        }
        
        .category-filter-btn {
            background: rgba(26, 26, 46, 0.9);
            border-color: rgba(77, 166, 220, 0.3);
            color: #b8d4e8;
        }
        .category-filter-btn:hover {
            border-color: var(--sky-blue);
            color: var(--sky-blue);
            box-shadow: var(--shadow-sm), 0 0 30px rgba(77, 166, 220, 0.2);
            text-shadow: none;
        }
        .category-filter-btn.active {
            box-shadow: var(--shadow-sm), 0 0 40px rgba(212, 168, 75, 0.3);
            text-shadow: none;
        }
        .category-filter-btn::before {
            background: transparent;
        }
        
        body {
            padding-top: 55px;
        }
        
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            text-align: center;
            margin: 40px 0 30px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        .section-title::before,
        .section-title::after {
            content: '';
            flex: 1;
            max-width: 150px;
            height: 2px;
            background: transparent;
        }
        .section-title::after {
            background: transparent;
        }
        .section-title-icon {
            font-size: 1.5rem;
        }
        .section-title-text {
            background: var(--accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .section-title-text {
            text-shadow: none;
        }
        
        .wide-cards-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 50px;
        }
        .wide-card {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 30px var(--shadow-soft);
            border: 2px solid var(--glass-border);
            background: var(--card-bg);
        }
        .wide-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 12px 30px var(--shadow-soft);
        }
        .wide-card img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .wide-card:hover img {
            transform: scale(1.05);
        }
        .wide-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 15px;
            background: linear-gradient(transparent, rgba(0,0,0,0.85));
            color: white;
        }
        .wide-card-title {
            font-size: 1rem;
            font-weight: 700;
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .wide-card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            opacity: 0.9;
        }
        .wide-card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 4px 10px;
            background: var(--accent);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(255, 183, 197, 0.5);
            z-index: 2;
        }
        .wide-card::before {
            content: '';
            position: absolute;
            top: -3px;
            left: -3px;
            right: -3px;
            bottom: -3px;
            border-radius: 19px;
            background: linear-gradient(135deg, 
                var(--sakura-pink) 0%, 
                transparent 25%, 
                var(--sky-blue) 50%,
                transparent 75%,
                var(--sakura-pink) 100%);
            background-size: 400% 400%;
            opacity: 0;
            transition: opacity 0.4s ease;
            z-index: -1;
        }
        .wide-card:hover::before {
            opacity: 1;
            animation: cardFlow 2s linear infinite;
        }
        @keyframes cardFlow {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }
        .wide-card::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent 40%,
                rgba(255, 255, 255, 0.5) 50%,
                transparent 60%
            );
            transform: translateX(-100%) rotate(45deg);
            transition: transform 0s;
            z-index: 1;
            pointer-events: none;
        }
        .wide-card:hover::after {
            animation: diagonalShine 0.8s ease-in-out forwards;
        }
        @keyframes diagonalShine {
            0% {
                transform: translateX(-100%) rotate(45deg);
            }
            100% {
                transform: translateX(100%) rotate(45deg);
            }
        }
        
        .card-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: transparent;
            transform: translate(-50%, -50%);
            transition: all 0.5s ease;
            pointer-events: none;
            z-index: 0;
        }
        .wide-card:hover .card-glow {
            width: 300%;
            height: 300%;
        }
        .card-glow {
            background: transparent;
        }
        .wide-card {
            border-color: rgba(77, 166, 220, 0.2);
            background: rgba(26, 26, 46, 0.9);
        }
        .wide-card:hover {
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
        }
        .wide-card::after {
            background: linear-gradient(
                45deg,
                transparent 40%,
                rgba(77, 166, 220, 0.3) 50%,
                transparent 60%
            );
        }
        
        .wide-card:hover .card-glow {
            width: 300%;
            height: 300%;
        }
        
        .masonry-grid {
            column-count: 3;
            column-gap: 20px;
            margin-bottom: 50px;
        }
        .masonry-card {
            position: relative;
            border-radius: 16px;
            overflow: visible;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 8px 30px var(--shadow-soft);
            border: 2px solid var(--glass-border);
            background: var(--card-bg);
            opacity: 0;
            animation: cardFadeIn 0.5s ease forwards;
            display: inline-block;
            width: 100%;
            break-inside: avoid;
            margin-bottom: 20px;
        }
        
        .masonry-card .card-content-wrapper {
            position: relative;
            border-radius: 14px;
            overflow: hidden;
            z-index: 2;
        }
        
        .new-releases-grid {
            display: flex;
            gap: 20px;
            margin-bottom: 50px;
        }
        .new-releases-grid .masonry-column {
            flex: 1 1 0;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .new-releases-grid .masonry-card {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 100%;
            break-inside: avoid;
            margin-bottom: 0;
        }
        .new-releases-grid .masonry-card .card-image-wrapper {
            flex-shrink: 0;
        }
        .new-releases-grid .masonry-card .masonry-card-overlay {
            flex-grow: 1;
        }
        @keyframes cardFadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .masonry-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 40px var(--shadow-soft);
        }
        
        .masonry-card .card-shine {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
            background-size: 200% 100%;
            opacity: 0;
            pointer-events: none;
            z-index: 10;
        }
        .masonry-card:hover .card-shine {
            opacity: 1;
            animation: cardShineIndex 0.6s ease-out forwards;
        }
        @keyframes cardShineIndex {
            from { background-position: 200% 0; }
            to { background-position: -200% 0; }
        }
        
        .masonry-card .card-image-wrapper {
            width: 100%;
            overflow: hidden;
            position: relative;
            background: var(--accent-subtle);
        }
        .masonry-card .card-image-wrapper.loading {
            min-height: 200px;
            background: var(--bg-tertiary);
            background-size: 200% 100%;
            animation: skeletonPulse 1.5s ease-in-out infinite;
        }
        @keyframes skeletonPulse {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .masonry-card .card-image-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            animation: shimmer 1.5s infinite;
            opacity: 0;
        }
        .masonry-card .card-image-wrapper.loading::before {
            opacity: 1;
        }
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        .masonry-card img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.6s ease;
        }
        @keyframes imgFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .masonry-card:hover img {
            transform: scale(1.1);
        }
        
        .masonry-card-overlay {
            padding: 12px 15px;
            background: var(--card-bg);
            position: relative;
            z-index: 2;
            min-height: 60px;
        }
        .masonry-card-title {
            font-size: 0.95rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 5px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .masonry-card-meta {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            font-size: 0.8rem;
            color: var(--text-muted);
            gap: 8px;
        }
        .masonry-card-desc {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: 8px;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .masonry-card-tag {
            position: absolute;
            top: 10px;
            left: 10px;
            padding: 4px 10px;
            background: var(--accent);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(255, 183, 197, 0.5);
            z-index: 2;
        }
        .meta-size {
            margin-left: auto;
            color: var(--sakura-pink);
            font-weight: 600;
        }
        .meta-category {
            margin-left: auto;
            padding: 2px 8px;
            background: rgba(74, 74, 72, 0.15);
            color: var(--text-muted);
            font-size: 0.7rem;
            font-weight: 500;
            border-radius: 10px;
            border: 1px solid rgba(74, 74, 72, 0.1);
        }
        .meta-category {
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-muted);
            border-color: rgba(255, 255, 255, 0.1);
        }
        .search-category-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 4px 10px;
            background: var(--accent);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            border-radius: 10px;
            z-index: 2;
        }
        
        .masonry-card .card-border-svg {
            position: absolute;
            top: -2px;
            left: -2px;
            width: calc(100% + 4px);
            height: calc(100% + 4px);
            pointer-events: none;
            z-index: 1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .masonry-card:hover .card-border-svg {
            opacity: 1;
        }
        .masonry-card .card-border-svg rect {
            fill: none;
            stroke-width: 2;
        }
        .masonry-card:hover .card-border-svg rect {
            stroke: var(--sky-blue);
        }
        
        .masonry-card.has-highlight:hover .card-border-svg rect {
            stroke: #FF69B4;
        }
        
        .masonry-card.has-highlight:hover {
            box-shadow: 0 15px 40px var(--shadow-soft), 0 0 20px rgba(255, 105, 180, 0.3);
        }
        
        .masonry-card {
            border-color: rgba(77, 166, 220, 0.2);
            background: rgba(26, 26, 46, 0.9);
        }
        .masonry-card:hover {
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
        }
        .masonry-card-overlay {
            background: rgba(26, 26, 46, 0.95);
        }
        .masonry-card-title {
            color: var(--text-primary);
        }
        .masonry-card:hover .card-border-svg rect {
            stroke: var(--sky-blue);
        }
        .masonry-card.has-highlight:hover .card-border-svg rect {
            stroke: #FF69B4;
        }
        .masonry-card.has-highlight:hover {
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 105, 180, 0.4);
        }
        
        .welcome-popup {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
        }
        .welcome-popup.active {
            opacity: 1;
            visibility: visible;
        }
        .welcome-popup-content {
            position: relative;
            background: var(--surface);
            border-radius: 24px;
            padding: 50px 60px;
            text-align: center;
            max-width: 420px;
            border: 3px solid;
            border-color: var(--accent);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            transform: scale(0.8) translateY(20px);
            transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .welcome-popup.active .welcome-popup-content {
            transform: scale(1) translateY(0);
        }
        .welcome-popup::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(ellipse at 30% 30%, rgba(126, 200, 227, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(232, 184, 109, 0.15) 0%, transparent 50%);
            animation: popupGlow 4s ease-in-out infinite;
            pointer-events: none;
        }
        @keyframes popupGlow {
            0%, 100% { opacity: 0.5; transform: rotate(0deg); }
            50% { opacity: 1; transform: rotate(180deg); }
        }
        .welcome-popup-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            animation: bounce 2s ease-in-out infinite;
        }
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        .welcome-popup-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 15px;
            background: var(--accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .welcome-popup-message {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 30px;
            line-height: 1.6;
        }
        .welcome-popup-btn {
            padding: 14px 40px;
            border-radius: 30px;
            border: none;
            background: var(--accent);
            color: white;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px var(--shadow-blue);
        }
        .welcome-popup-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px var(--shadow-blue);
        }
        .welcome-popup-sparkles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            overflow: hidden;
        }
        .sparkle {
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--amber-gold);
            border-radius: 50%;
            animation: sparkleFloat 3s ease-in-out infinite;
        }
        .sparkle:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
        .sparkle:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; background: var(--sky-blue); }
        .sparkle:nth-child(3) { bottom: 30%; left: 5%; animation-delay: 1s; }
        .sparkle:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 1.5s; background: var(--sky-blue); }
        .sparkle:nth-child(5) { top: 50%; left: -5%; animation-delay: 2s; }
        @keyframes sparkleFloat {
            0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
            50% { opacity: 1; transform: scale(1) translateY(-20px); }
        }
        .welcome-popup-content {
            background: var(--surface);
        }
        
        @media (max-width: 1200px) {
            .wide-cards-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            .masonry-grid {
                column-count: 3;
            }
        }
        @media (max-width: 900px) {
            .wide-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .masonry-grid {
                column-count: 2;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .nav-links { display: none; }
            .featured-title { font-size: 1.3rem; }
            .featured-desc { font-size: 0.85rem; }
            .featured-overlay { padding: 20px; }
            .featured-dots { right: 20px; bottom: 15px; }
            .welcome-popup-content {
                margin: 20px;
                padding: 30px;
            }
        }
        @media (max-width: 600px) {
            .wide-cards-grid {
                grid-template-columns: 1fr;
            }
            .masonry-grid {
                column-count: 1;
            }
        }