/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00a8ff;
    --secondary-blue: #0066cc;
    --accent-blue: #004499;
    --light-blue: #e6f3ff;
    --dark-bg: #1a1a2e;
    --light-grey: #f0f0f0;
    --medium-grey: #d3d3d3;
    --dark-grey: #6c757d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --success-green: #28a745;
    --warning-yellow: #ffc107;
    --info-cyan: #17a2b8;
    --glow-blue: #00d4ff;
    --glow-cyan: #00ffff;
}

body {
    font-family: 'Fredoka', 'Comic Neue', cursive, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 6px;
    box-shadow: 0 0 10px var(--glow-blue);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* Left Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-right: 3px solid var(--primary-blue);
    box-shadow: 4px 0 20px rgba(0, 168, 255, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar.collapsed {
    transform: translateX(-220px);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 168, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 15px var(--glow-blue);
    letter-spacing: 2px;
}

.logo-glow {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--glow-cyan);
    text-shadow: 0 0 25px var(--glow-cyan);
    letter-spacing: 2px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 25px var(--glow-cyan);
        opacity: 1;
    }
    50% {
        text-shadow: 0 0 35px var(--glow-cyan);
        opacity: 0.8;
    }
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: translateX(-2px);
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
    flex: 1;
    overflow-y: auto;
}

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

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 168, 255, 0.2);
    transform: translateX(5px);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 100%;
}

.nav-link i {
    width: 20px;
    text-align: center;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.nav-link span {
    font-family: 'Comic Neue', cursive;
    font-weight: 600;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--primary-blue);
    background: rgba(0, 168, 255, 0.1);
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
}

.user-name {
    font-family: 'Comic Neue', cursive;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.user-level {
    font-size: 0.9rem;
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.user-points {
    font-size: 0.9rem;
    color: var(--warning-yellow);
    font-weight: 600;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    background: var(--light-grey);
    transition: margin-left 0.3s ease;
}

.main-content.sidebar-collapsed {
    margin-left: 60px;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.page-title {
    font-family: 'Comic Neue', cursive;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--glow-blue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.search-bar input {
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    width: 200px;
    outline: none;
}

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

.search-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--glow-cyan);
    transform: scale(1.1);
}

.notification-area {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    color: var(--glow-cyan);
    transform: scale(1.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--warning-yellow);
    color: var(--dark-bg);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-family: 'Comic Neue', cursive;
}

/* Content Area */
.content-area {
    padding: 2rem;
    min-height: calc(100vh - 80px);
}

.page-section {
    display: none;
}

.page-section.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Comic Neue', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 15px var(--glow-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: -2rem;
    left: -2rem;
    right: -2rem;
    bottom: -2rem;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.1) 0%, transparent 70%),
                linear-gradient(135deg, var(--dark-bg) 0%, var(--medium-grey) 100%);
    z-index: -1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--glow-blue);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
    box-shadow: 0 0 20px var(--glow-blue);
}

.hero-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-family: 'Comic Neue', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 25px var(--glow-blue);
    letter-spacing: 3px;
}

.title-glow {
    display: block;
    font-family: 'Comic Neue', cursive;
    font-size: 4rem;
    font-weight: 400;
    color: var(--glow-cyan);
    text-shadow: 0 0 40px var(--glow-cyan);
    letter-spacing: 3px;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.3);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.4);
    border-color: var(--glow-blue);
}

.stat-number {
    font-family: 'Comic Neue', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 15px var(--glow-blue);
    margin-bottom: 0.5rem;
}

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

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background: var(--text-primary);
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.4);
    border-color: var(--glow-blue);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 168, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--warning-yellow);
    border: 3px solid var(--text-primary);
    color: var(--dark-bg);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Comic Neue', cursive;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.5);
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--success-green);
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.7);
}

.game-info {
    padding: 1.5rem;
}

.game-title {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px var(--glow-blue);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.game-age {
    background: var(--success-green);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
    font-family: 'Comic Neue', cursive;
}

.game-rating {
    color: var(--warning-yellow);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}

/* Proxy Games */
.proxy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.proxy-card {
    background: var(--text-primary);
    border: 3px solid var(--primary-blue);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.proxy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.4);
    border-color: var(--glow-blue);
}

.proxy-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proxy-name {
    font-family: 'Comic Neue', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--glow-blue);
}

.proxy-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Comic Neue', cursive;
}

.proxy-status.online {
    background: var(--success-green);
    color: var(--text-primary);
    animation: pulse-status 2s ease-in-out infinite;
}

.proxy-status.offline {
    background: var(--dark-grey);
    color: var(--text-secondary);
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.proxy-info {
    padding: 1.5rem;
}

.proxy-title {
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px var(--glow-blue);
}

.proxy-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1rem;
}

.proxy-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.proxy-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.proxy-stat i {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.proxy-action {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Comic Neue', cursive;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-primary);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.5);
    border-color: var(--glow-blue);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.2);
    transform: translateY(-3px);
    border-color: var(--glow-blue);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--text-primary);
    border: 3px solid var(--primary-blue);
    border-radius: 25px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 0 0 10px var(--glow-blue);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--dark-grey);
    color: var(--text-primary);
    transform: scale(1.1);
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Comic Neue', cursive;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--light-grey);
    border: 3px solid var(--primary-blue);
    border-radius: 15px;
    color: var(--text-primary);
    font-family: 'Comic Neue', cursive;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-container input:focus {
    outline: none;
    border-color: var(--glow-blue);
    box-shadow: 0 0 0 5px var(--glow-blue);
    background: var(--text-primary);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-blue);
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 24px;
    height: 24px;
    border: 3px solid var(--primary-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-container input:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--glow-blue);
}

.checkbox-container input:checked + .checkmark::after {
    content: '✓';
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1rem;
}

.checkbox-label {
    font-family: 'Comic Neue', cursive;
    color: var(--text-primary);
    font-size: 1rem;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--glow-blue);
    text-decoration: underline;
}

.form-actions {
    display: flex;
    justify-content: center;
}

/* View All */
.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-220px);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 60px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .proxy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 60px;
    }
    
    .sidebar-header {
        padding: 1rem;
    }
    
    .logo-text,
    .logo-glow {
        font-size: 1.2rem;
    }
    
    .nav-menu li {
        margin-bottom: 0.25rem;
    }
    
    .nav-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .main-content {
        margin-left: 60px;
    }
    
    .top-bar {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
