* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(30, 30, 30, 0.7);
    --bg-hover: rgba(40, 40, 40, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent: #ff6b6b;
    --accent2: #ffa726;
    --challenge-color: #4caf50;
    --border: rgba(255, 255, 255, 0.1);
    --discord-color: #5865F2;
    --telegram-color: #0088cc;
    --fire-gradient: linear-gradient(45deg, #ff6b6b, #ffa726, #ff6b6b);
    --challenge-gradient: linear-gradient(45deg, #4caf50, #45a049, #4caf50);
    --search-bg: rgba(255, 255, 255, 0.05);
    --search-focus: rgba(255, 107, 107, 0.3);
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.4;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 107, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 167, 38, 0.05) 0%, transparent 20%);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--fire-gradient);
}

.logo-gradient {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ff6b6b;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.header nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.header nav a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.header nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--fire-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.header nav a.active,
.header nav a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.header nav a.active::before,
.header nav a:hover::before {
    left: 0;
}

/* List Info */
.list-info {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.list-info::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.list-info h2 {
    color: var(--accent);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.list-info p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid var(--challenge-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.stat-value {
    font-size: 2em;
    font-weight: 900;
    color: var(--challenge-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9em;
}

/* Search Container */
.search-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--search-bg);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    box-shadow: 0 0 15px var(--search-focus);
}

.search-container input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.search-container input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--search-focus);
}

.search-container input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-container button {
    padding: 12px 20px;
    background: var(--fire-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-container button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.search-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.search-container button:hover::before {
    left: 100%;
}

/* Filter Container */
.filter-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--fire-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.filter-btn.active::before,
.filter-btn:hover::before {
    left: 0;
}

/* Demon Items */
.demon-item {
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demon-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fire-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.demon-item:hover {
    background: rgba(45, 45, 45, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.demon-item:hover::before {
    transform: scaleY(1);
}

/* Challenge Items */
.challenge-item {
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--challenge-color);
    position: relative;
    overflow: hidden;
}

.challenge-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1));
}

.challenge-item:hover {
    background: rgba(45, 45, 45, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.rank {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--accent);
    min-width: 40px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
}

.challenge-item .rank {
    color: var(--challenge-color);
    text-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.level-info {
    flex: 1;
}

.name {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.difficulty {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7em;
    font-weight: 600;
    background: var(--fire-gradient);
}

.difficulty.extreme {
    background: var(--fire-gradient);
}

.difficulty.challenge {
    background: var(--challenge-gradient);
}

.details {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.details span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.details span:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.points {
    color: var(--accent2) !important;
    font-weight: 600;
}

.challenge-item .points {
    color: var(--challenge-color) !important;
}

/* YouTube Link */
.youtube-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255, 0, 0, 0.2);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.8em;
    position: relative;
    overflow: hidden;
}

.youtube-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.youtube-link:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.2);
}

.youtube-link:hover::before {
    left: 100%;
}

.youtube-link img {
    width: 40px;
    height: 30px;
    border-radius: 4px;
    object-fit: cover;
}

/* Players Page */
.player-item {
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.player-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fire-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.player-item:hover {
    background: rgba(45, 45, 45, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.player-item:hover::before {
    transform: scaleY(1);
}

/* Challenge Players */
.challenge-player {
    border-left: 4px solid var(--challenge-color);
}

.challenge-player .player-rank {
    color: var(--challenge-color);
}

.challenge-stat {
    background: rgba(76, 175, 80, 0.1) !important;
    color: var(--challenge-color) !important;
}

.completion-rate {
    background: rgba(255, 167, 38, 0.1) !important;
    color: var(--accent2) !important;
    font-weight: 600;
}

.player-rank {
    font-size: 1.8em;
    font-weight: 900;
    color: var(--accent);
    min-width: 40px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(255, 107, 107, 0.3);
    position: relative;
}

.top-badge {
    font-size: 0.6em;
    margin-left: 5px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-badge {
    background: var(--fire-gradient);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7em;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.player-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.player-stats span {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.player-stats span:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.total-points {
    color: var(--accent2) !important;
    font-weight: 700;
    background: rgba(255, 167, 38, 0.1) !important;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--challenge-gradient);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.passed-levels {
    margin-top: 8px;
    font-size: 0.8em;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 6px;
    border-left: 3px solid var(--accent2);
    transition: all 0.3s ease;
}

.passed-levels:hover {
    background: rgba(255, 255, 255, 0.05);
}

.passed-levels strong {
    color: var(--accent2);
    display: block;
    margin-bottom: 4px;
}

/* Challenge Tags */
.challenge-tag {
    display: inline-block;
    background: rgba(76, 175, 80, 0.15);
    color: var(--challenge-color);
    padding: 3px 8px;
    border-radius: 4px;
    margin: 2px;
    font-size: 0.75em;
    border: 1px solid rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.challenge-tag:hover {
    background: rgba(76, 175, 80, 0.25);
    transform: translateY(-1px);
}

/* Verify Page */
.verify-section {
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verify-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.verify-section h2 {
    color: var(--accent);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.verify-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.google-forms-link {
    margin: 25px 0;
    position: relative;
    z-index: 1;
}

.forms-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--fire-gradient);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.forms-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.forms-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.forms-button:hover::before {
    left: 100%;
}

/* Verify Process */
.verify-process {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.verify-process h3 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 20px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--fire-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--accent2);
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.verify-rules {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.verify-rules h3 {
    color: var(--accent2);
    margin-bottom: 15px;
    text-align: center;
}

.verify-rules ul {
    list-style: none;
    padding-left: 0;
}

.verify-rules li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-rules li:last-child {
    border-bottom: none;
}

.verify-rules li:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 10px;
}

/* Contact Support */
.contact-support {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-support h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.contact-support p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.support-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.support-link {
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.support-link.discord {
    background: var(--discord-color);
}

.support-link.telegram {
    background: var(--telegram-color);
}

.support-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.support-link:hover::before {
    left: 100%;
}

/* About Page */
.about-section {
    background: rgba(35, 35, 35, 0.7);
    backdrop-filter: blur(15px) saturate(180%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 167, 38, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.about-section h2 {
    color: var(--accent);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fire-gradient);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-card:hover::before {
    transform: scaleY(1);
}

.about-card h3 {
    color: var(--accent2);
    margin-bottom: 10px;
}

.contact-section {
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-section h3 {
    color: var(--accent);
    margin-bottom: 15px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    padding: 12px 24px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-link.discord {
    background: var(--discord-color);
}

.contact-link.telegram {
    background: var(--telegram-color);
}

.contact-link:hover {
    background: var(--fire-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.contact-link:hover::before {
    left: 100%;
}

/* No Results Message */
.no-results {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 20px 0;
}

.no-results h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-secondary);
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .demon-item,
    .challenge-item,
    .player-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .details,
    .player-stats {
        gap: 8px;
    }
    
    .header nav {
        flex-direction: column;
        align-items: center;
    }
    
    .logo-gradient {
        font-size: 2em;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-link {
        width: 200px;
    }
    
    .forms-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .passed-levels {
        font-size: 0.75em;
    }
    
    .name {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .search-container input,
    .search-container button {
        width: 100%;
    }
    
    .player-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .player-stats span {
        width: 100%;
        text-align: center;
    }
    
    .filter-container {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .support-links {
        flex-direction: column;
        align-items: center;
    }
    
    .support-link {
        width: 200px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5em;
    }
    
    .challenge-tag {
        display: block;
        margin: 3px 0;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px;
    }
    
    .logo-gradient {
        font-size: 1.7em;
    }
    
    .rank,
    .player-rank {
        font-size: 1.5em;
        min-width: 35px;
    }
    
    .name,
    .player-name {
        font-size: 1.1em;
    }
    
    .details,
    .player-stats {
        font-size: 0.8em;
    }
    
    .youtube-link {
        font-size: 0.75em;
        padding: 5px 10px;
    }
    
    .youtube-link img {
        width: 35px;
        height: 25px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .player-stats {
        flex-direction: column;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent2);
}

/* Selection Styling */
::selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

::-moz-selection {
    background: rgba(255, 107, 107, 0.3);
    color: white;
}

/* Focus Outline for Accessibility */
*:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header nav,
    .search-container,
    .youtube-link,
    .contact-links,
    .forms-button,
    .filter-container,
    .support-links {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .demon-item,
    .challenge-item,
    .player-item {
        border: 1px solid #ccc;
        box-shadow: none;
    }
    
    .logo-gradient {
        -webkit-text-fill-color: black;
        background: none;
        color: black;
    }
}