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

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Optimized Gaming Glow Effects - Updated to match logo colors */
.glow {
    text-shadow: 0 0 10px #00FF7F;
    will-change: transform; /* Optimize for animations */
}

.neon-border {
    border: 2px solid #00FF7F;
    box-shadow: 0 0 10px #00FF7F;
    will-change: transform;
}

/* Payment Success Page Styles */
.payment-success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    border: 2px solid #00FF7F;
    box-shadow: 0 0 30px rgba(0, 255, 127, 0.3);
    animation: successSlideIn 0.6s ease-out;
}

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

.success-animation {
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #00FF7F;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkPulse 2s infinite;
}

@keyframes checkmarkPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.checkmark {
    width: 30px;
    height: 15px;
    border: 4px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.6s ease-out 0.3s both;
}

@keyframes checkmarkDraw {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 30px;
        height: 15px;
    }
}

.success-title {
    font-size: 2.5rem;
    color: #00FF7F;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

.success-message {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}

.payment-details {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #ccc;
    font-weight: 500;
}

.detail-value {
    color: #00FF7F;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.confirmation-section {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 255, 127, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.confirmation-section h3 {
    color: #00FF7F;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.confirmation-section p {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.confirm-btn {
    background: linear-gradient(135deg, #00FF7F 0%, #00E676 100%);
    color: #1a1a2e;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 127, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.5);
    background: linear-gradient(135deg, #00E676 0%, #00FF7F 100%);
}

.confirm-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Final Success Modal Styles */
.final-success-content {
    max-width: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #00FF7F;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 255, 127, 0.4);
}

.modal-title {
    font-size: 2.2rem;
    color: #00FF7F;
    margin-bottom: 20px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

.modal-message {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}

.registration-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.summary-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
    color: #fff;
    font-size: 1rem;
}

.summary-item i {
    color: #00FF7F;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.modal-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, #00FF7F 0%, #00E676 100%);
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.3);
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 127, 0.5);
}

.modal-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.modal-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00FF7F;
    color: #00FF7F;
}

/* Team List Section Background */
.team-list-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0 60px;
    position: relative;
}

.team-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 236, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.team-list-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
}

.loading-container {
    text-align: center;
    padding: 4rem 0;
    color: #ccc;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 255, 127, 0.3);
    border-top: 3px solid #00FF7F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Tournament Cards in Admin Panel */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.tournament-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 127, 0.6);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
    padding-bottom: 1rem;
}

.tournament-header h3 {
    color: #00ff7f;
    margin: 0;
    font-size: 1.3rem;
}

.tournament-status {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.tournament-status.active {
    background: rgba(0, 255, 127, 0.2);
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.4);
}

.tournament-status.completed {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.tournament-details p {
    margin: 0.5rem 0;
    color: #ccc;
}

.tournament-details strong {
    color: #00ff7f;
}

.tournament-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 127, 0.2);
}

.tournament-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

/* Winner Cards in Admin Panel */
.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.winner-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.winner-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.winner-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 215, 0, 0.5);
}

.winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    text-align: center;
    margin-bottom: 1rem;
}

.winner-info h3 {
    color: #ffd700;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.winner-info p {
    margin: 0.3rem 0;
    color: #ccc;
    font-size: 0.9rem;
}

.winner-info strong {
    color: #ffd700;
}

.winner-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.winner-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}

.team-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 127, 0.05) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: #00FF7F;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.team-card:hover::before {
    opacity: 1;
}

.team-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.team-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
    flex: 1;
}

.team-badge {
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: #00FF7F;
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-badge i {
    font-size: 0.8rem;
}

.team-info {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 0.95rem;
}

.info-row i {
    color: #00FF7F;
    width: 16px;
    text-align: center;
}

.players-section {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.players-title {
    font-size: 1.1rem;
    color: #00FF7F;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', monospace;
}

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

.player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.player-item:hover {
    background: rgba(0, 255, 127, 0.05);
    border-color: rgba(0, 255, 127, 0.3);
}

.player-role {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.player-icon {
    color: #00FF7F;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.role-name {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

.player-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.player-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.player-id {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

.team-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    position: relative;
    z-index: 1;
}

.payment-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00FF7F;
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-status i {
    font-size: 0.8rem;
}

/* Game Section Styles */
.game-section {
    margin-bottom: 4rem;
}

.game-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 20px;
    background: rgba(0, 255, 127, 0.05);
    border: 1px solid rgba(0, 255, 127, 0.2);
    border-radius: 15px;
}

.game-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #00FF7F 0%, #00E676 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-header h2 {
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin: 0;
    flex: 1;
}

.team-count {
    background: rgba(0, 255, 127, 0.1);
    color: #00FF7F;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

/* No Teams Message */
.no-teams {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-teams-icon {
    font-size: 4rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.no-teams h3 {
    color: #ccc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.no-teams p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-card {
        padding: 20px;
    }
    
    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .team-badge {
        align-self: flex-start;
    }
    
    .player-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .player-info {
        align-items: flex-start;
        text-align: left;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

.loading-spinner {
    height: 50px;
    border: 4px solid rgba(0, 255, 127, 0.3);
    border-left: 4px solid #00FF7F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-section {
    margin-bottom: 4rem;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.game-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 127, 0.3);
}

.game-header .game-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #00FF7F, #00E676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-header h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
    flex: 1;
}

.team-count {
    background: linear-gradient(135deg, #00FF7F, #00E676);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00FF7F, #00E676, #1a1a2e);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: #00FF7F;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.3);
}

.team-name {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00FF7F;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.players-list {
    list-style: none;
    padding: 0;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-item:last-child {
    border-bottom: none;
}

.player-icon {
    color: #4ecdc4;
    font-size: 0.8rem;
}

.player-name {
    flex: 1;
}

.no-teams {
    text-align: center;
    padding: 6rem 2rem;
    color: #ccc;
}

.no-teams-icon {
    font-size: 4rem;
    color: rgba(0, 255, 127, 0.5);
    margin-bottom: 2rem;
}

.no-teams h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.no-teams p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Scoreboard Styles */
.scoreboard-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0 60px;
    position: relative;
}

.scoreboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(76, 236, 196, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.game-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.game-btn {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid rgba(0, 255, 127, 0.3);
    color: #ccc;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-btn:hover {
    border-color: #00FF7F;
    color: #00FF7F;
    transform: translateY(-2px);
}

.game-btn.active {
    background: linear-gradient(135deg, #00FF7F, #00E676);
    border-color: #00FF7F;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.4);
}

.game-scoreboard {
    display: none;
}

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

.scoreboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.scoreboard-header h2 {
    font-family: 'Orbitron', monospace;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tournament-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    background: rgba(0, 255, 127, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #00FF7F;
    font-weight: 600;
}

.leaderboard-section {
    margin-bottom: 3rem;
}

.leaderboard-section h3 {
    font-family: 'Orbitron', monospace;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.leaderboard-table {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px 80px;
    background: rgba(0, 255, 127, 0.1);
    padding: 1rem;
    font-weight: 600;
    color: #00FF7F;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 80px 80px;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-row:hover {
    background: rgba(0, 255, 127, 0.05);
}

.leaderboard-row.top-three {
    background: rgba(255, 215, 0, 0.1);
}

.rank {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.rank .fa-crown {
    color: #ffd700;
}

.rank .fa-medal.silver {
    color: #c0c0c0;
}

.rank .fa-medal.bronze {
    color: #cd7f32;
}

.team-name {
    color: #fff;
    font-weight: 600;
}

.points {
    color: #4ecdc4;
    font-weight: 700;
}

.kills {
    color: #ff6b6b;
    font-weight: 600;
}

.matches {
    color: #ccc;
}

.groups-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.group-card {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.group-header h4 {
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

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

.group-team-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.group-team-row:hover {
    background: rgba(0, 255, 127, 0.1);
}

.team-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #00FF7F, #00E676);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.team-points {
    color: #4ecdc4;
    font-weight: 600;
    margin-left: auto;
}

.no-data {
    text-align: center;
    padding: 6rem 2rem;
    color: #ccc;
}

.no-data-icon {
    font-size: 4rem;
    color: rgba(0, 255, 127, 0.5);
    margin-bottom: 2rem;
}

.no-data h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* Admin Scoreboard Styles */
.admin-game-selector {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.admin-game-selector label {
    color: #00FF7F;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.groups-management {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
    margin-bottom: 2rem;
}

.group-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.group-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.group-teams {
    min-height: 150px;
    max-height: 200px;
    overflow-y: auto;
}

.team-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 127, 0.1);
}

.team-item.unassigned {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
}

.remove-team-btn {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.assign-group-select {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(0, 255, 127, 0.3);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.unassigned-teams {
    grid-column: 1 / -1;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.score-form-container {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.scores-table-container {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
    overflow-x: auto;
}

.scores-table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
}

.scores-table th {
    background: rgba(0, 255, 127, 0.1);
    color: #00FF7F;
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.scores-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scores-table tr:hover {
    background: rgba(0, 255, 127, 0.05);
}

.admin-message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-message.success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.admin-message.error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .game-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .game-header h2 {
        font-size: 1.5rem;
    }
    
    .team-card {
        padding: 1rem;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 40px 1fr 80px 60px 60px;
        font-size: 0.9rem;
    }

    .groups-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .game-selector {
        flex-direction: column;
        align-items: center;
    }

    .group-actions {
        flex-direction: column;
    }
}

/* Gaming Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 20px rgba(0, 255, 127, 0.4);
    background: rgba(26, 26, 46, 0.9);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00FF7F;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gaming Select Elements */
select.form-control {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff6b35"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    appearance: none;
}

/* Gaming Checkbox and Radio */
.checkbox-wrapper,
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.checkbox-wrapper input[type="checkbox"],
.radio-wrapper input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #00FF7F;
    border-radius: 4px;
    background: rgba(26, 26, 46, 0.8);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.radio-wrapper input[type="radio"] {
    border-radius: 50%;
}

.checkbox-wrapper input[type="checkbox"]:checked,
.radio-wrapper input[type="radio"]:checked {
    background: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.6);
}

.checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
}

.radio-wrapper input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

/* Improve layout for typical 15" laptops (e.g., 1366px wide) */
@media (max-width: 1366px) {
    .nav-container {
        padding: 0 20px;
    }
    .nav-menu {
        gap: 0.75rem;
        flex-wrap: wrap; /* Prevent overflow on typical laptop widths */
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .nav-logo h2 {
        font-size: 1.4rem;
    }
    .logo-img {
        height: 85px;
        min-width: 85px;
        min-height: 85px;
    }
    /* Move hero stats below buttons to avoid overlap on laptop screens */
    .hero-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
        gap: 2rem;
    }
}

/* If viewport height is short, also prevent overlap by stacking stats below */
@media (max-height: 820px) and (min-width: 769px) {
    .hero-stats {
        position: static;
        transform: none;
        margin-top: 2rem;
        gap: 2rem;
        overflow-x: hidden;
    }
}

body {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #2d1b69 75%, #8b0000 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Optimized Particle Background Effect - Reduced complexity */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 255, 127, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    will-change: transform;
}

/* Optimized particle animation - reduced complexity */
@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Make media elements fluid by default */
img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(26, 26, 46, 0.95) 50%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 2px solid #00FF7F;
    box-shadow: 0 2px 20px rgba(0, 255, 127, 0.3);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 2px 30px rgba(0, 255, 127, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Navigation Improvements */
@media (min-width: 1200px) {
    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .nav-logo h2 {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
}

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

.logo-img {
    height: 100px;
    min-width: 100px; /* Prevent collapsing */
    min-height: 100px; /* Prevent collapsing */
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo h2 {
    font-family: 'Orbitron', monospace;
    color: #00FF7F;
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 0 10px #00FF7F;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-logo h2:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px #00FF7F, 0 0 30px #00FF7F;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #00FF7F;
    background: rgba(0, 255, 127, 0.1);
    text-shadow: 0 0 10px #00FF7F;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00FF7F, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px #00FF7F;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero.firebase-banner {
    background: url('https://firebasestorage.googleapis.com/v0/b/battle-x-peo.firebasestorage.app/o/Home%20Screen%20Banner.jpg?alt=media&token=82fe0e6f-a171-4fa6-8d4f-53ac093df700') center/cover no-repeat scroll !important;
    min-height: 100vh !important;
    overflow: hidden !important;
}

/* Hero overlay for text readability */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Desktop Hero Improvements */
@media (min-width: 1200px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 4.5rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        max-width: 650px;
        margin: 0 auto 2.5rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 3rem;
        margin-top: 3rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        text-align: center;
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 2.8rem;
        font-weight: 900;
        color: #00FF7F;
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
        color: #ccc;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

/* Removed - using new hero::before overlay */

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(10px, 10px); }
}

/* Enhanced Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 0, 128, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 255, 255, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(10,10,30,0.9) 100%);
    z-index: 2;
}

/* Gaming Particles Animation */
.gaming-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
    animation: particleFloat 8s infinite linear;
}

.particle-1 { left: 10%; animation-delay: 0s; }
.particle-2 { left: 30%; animation-delay: 2s; background: #00FF7F; box-shadow: 0 0 10px #00FF7F; }
.particle-3 { left: 50%; animation-delay: 4s; background: #ff0080; box-shadow: 0 0 10px #ff0080; }
.particle-4 { left: 70%; animation-delay: 6s; }
.particle-5 { left: 90%; animation-delay: 1s; background: #00E676; box-shadow: 0 0 10px #00E676; }

/* Optimized particle animation */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Professional BattleX Pro Logo Styles */
.hero-logo {
    margin-bottom: 1.5rem;
    animation: logoFloat 4s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.battlex-logo {
    width: 500px;
    height: 200px;
    max-width: 90vw;
    filter: drop-shadow(0 0 20px rgba(0, 255, 127, 0.5));
    transition: transform 0.3s ease;
    display: block;
    will-change: transform;
}

.battlex-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(0, 255, 127, 0.7));
}

/* Simplified logo animation */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .battlex-logo {
        width: 450px;
        height: 180px;
    }
    .welcome-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        letter-spacing: 3px;
    }
}

@media (max-width: 768px) {
    .battlex-logo {
        width: 380px;
        height: 152px;
    }
    .welcome-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        letter-spacing: 2px;
    }
    .hero-logo {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .battlex-logo {
        width: 320px;
        height: 128px;
    }
    .welcome-title {
        font-size: clamp(1.2rem, 3vw, 1.5rem);
        letter-spacing: 1px;
    }
    .welcome-text {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 360px) {
    .battlex-logo {
        width: 280px;
        height: 112px;
    }
    .welcome-title {
        font-size: 1.2rem;
    }
}

.hero-content {
    z-index: 10;
    max-width: 900px;
    padding: 2rem;
    animation: heroFadeIn 1.5s ease-out;
    position: relative;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Exo 2', 'Rajdhani', 'Orbitron', sans-serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00FF7F, #00E676, #00ffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: optimizedGradientShift 6s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.6);
    position: relative;
    will-change: transform;
}

/* Remove old modern gaming title styles as we now use separate Welcome text and logo */

.hero-title.enhanced-title {
    font-size: clamp(4rem, 14vw, 8rem);
    letter-spacing: 6px;
    margin-bottom: 2.5rem;
}

/* Simplified title effects */
.hero-title.enhanced-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: rgba(0, 255, 127, 0.2);
    border-radius: 20px;
    filter: blur(15px);
    z-index: -1;
    opacity: 0.4;
}

/* Optimized animations for better performance */
@keyframes optimizedGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes titleAura {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px #00FF7F, 0 0 30px #00FF7F;
    }
    to {
        text-shadow: 0 0 30px #00E676, 0 0 40px #00E676, 0 0 50px #00E676;
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #00ffff;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

/* Simplified button effects */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    will-change: transform;
}

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

.btn:hover {
    background: linear-gradient(45deg, #e55a2b, #e67a32);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.6);
    border-color: #00FF7F;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.4);
}

/* Gaming Button Variants */
.btn-secondary {
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 2px solid #00FF7F;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #00FF7F, #ff8c42);
    border-color: #00FF7F;
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.4);
}

.btn-primary {
    background: linear-gradient(45deg, #00FF7F, #ff8f65);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.6);
    background: linear-gradient(45deg, #e55a2b, #e67a32);
}

.hero-stats {
    position: static;
    transform: none;
    display: flex;
    gap: 3rem;
    z-index: 2;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: #00FF7F;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #ccc;
    font-size: 0.9rem;
}

/* Restore absolute placement only on large desktops */
@media (min-width: 1600px) and (min-height: 900px) {
    .hero-stats {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 0;
    }
}

/* Responsive Design for Winner Section */
@media (max-width: 768px) {
    .battlex-logo {
        width: 350px;
        height: 140px;
    }
    
    .hero-title.enhanced-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 3px;
    }
    
    .winner-card {
        padding: 2rem 1rem;
        margin: 0 1rem;
    }
    
    .winner-photo {
        width: 120px;
        height: 120px;
    }
    
    .winner-info h3 {
        font-size: 2rem;
    }
    
    .winner-prize {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }
    
    .winner-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .winners-podium {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .podium-winner.first-place {
        transform: none;
    }
    
    .podium-winner.first-place:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: clamp(1.6rem, 5vw, 2.5rem);
    margin-bottom: 3rem;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #00FF7F, #00ffff);
}

/* Founders Section */
.founders-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.founders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.founder-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 127, 0.05), transparent);
    transform: rotate(45deg);
    transition: opacity 0.3s ease;
    opacity: 0;
    will-change: opacity;
}

.founder-card:hover::before {
    opacity: 1;
}

.founder-card:hover {
    transform: translateY(-10px);
    border-color: #00FF7F;
    box-shadow: 0 20px 40px rgba(0, 255, 127, 0.4);
}

/* Removed complex shimmer animation for better performance */

.founder-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, #00FF7F, #ff0080, #00ffff);
    padding: 5px;
    box-shadow: 0 15px 35px rgba(0, 255, 127, 0.4);
    transition: all 0.3s ease;
}

.founder-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 255, 127, 0.6);
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.founder-avatar:hover img {
    border-color: rgba(255, 255, 255, 0.4);
}

.founder-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
}

.founder-role {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00FF7F;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.founder-company {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Responsive Design for Founders */
@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-avatar {
        width: 120px;
        height: 120px;
    }
    
    .founder-card {
        padding: 2rem;
    }
    
    .founder-info h3 {
        font-size: 1.3rem;
    }
}

/* Features Preview */
.features-preview {
    padding: 80px 0;
    background: #111;
}

.features-section {
    padding: 120px 0 80px;
    background: #111;
}

.advantages-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.advantage-number {
    font-size: 3rem;
    font-weight: bold;
    color: #00FF7F;
    min-width: 80px;
    text-align: center;
}

.advantage-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.advantage-content p {
    color: #ccc;
    line-height: 1.6;
}

/* Rules Section */
.rules-section {
    padding: 120px 0 80px;
    background: #111;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.rule-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: #00FF7F;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.3);
}

.rule-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.rule-icon i {
    font-size: 3rem;
    color: #00FF7F;
}

.rule-card h3 {
    text-align: center;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.rule-card ul {
    list-style: none;
    padding: 0;
}

.rule-card li {
    color: #ccc;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.rule-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
}

.rules-footer {
    margin-top: 4rem;
}

.important-note {
    background: rgba(0, 255, 127, 0.1);
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.important-note h3 {
    color: #00FF7F;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.important-note p {
    color: #ccc;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Registration Section */
.registration-section {
    padding: 120px 0 80px;
    background: #0a0a0a;
}

.registration-header {
    text-align: center;
    margin-bottom: 3rem;
}

.registration-icon {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00FF7F, #ff8f65);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.4);
}

.registration-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.registration-subtitle {
    color: #00ffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.registration-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(45deg, #00FF7F, #ff8f65);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.4);
}

.step-number {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step.active .step-number {
    background: rgba(255, 255, 255, 0.3);
}

.step-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Success Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: modalSlideIn 0.5s ease-out;
}

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

.success-animation {
    margin-bottom: 2rem;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #28a745, #20c997);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: checkmarkBounce 0.6s ease-out 0.3s both;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
}

@keyframes checkmarkBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.checkmark {
    width: 25px;
    height: 15px;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.3s ease-out 0.6s both;
}

@keyframes checkmarkDraw {
    from {
        width: 0;
        height: 0;
    }
    to {
        width: 25px;
        height: 15px;
    }
}

.modal-content h2 {
    color: #28a745;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.success-message {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #00FF7F;
    width: 20px;
    text-align: center;
}

.success-status {
    color: #28a745 !important;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-actions .btn {
    min-width: 150px;
}

.hidden {
    display: none !important;
}

/* Message Container */
#message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
}

.message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease-out;
}

.message.success {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: #fff;
    border-left: 4px solid #1e7e34;
}

.message.error {
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    color: #fff;
    border-left: 4px solid #bd2130;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mock Payment Modal */
.mock-payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.mock-payment-content {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(0, 255, 255, 0.1));
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 15px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    backdrop-filter: blur(10px);
    animation: modalSlideIn 0.3s ease-out;
}

.mock-payment-content h3 {
    color: #00FF7F;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mock-payment-content p {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mock-payment-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.mock-payment-buttons .btn {
    min-width: 120px;
}

/* Payment Processing Styles */
.payment-processing {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 255, 127, 0.3);
    border-top: 4px solid #00FF7F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.payment-failed {
    text-align: center;
    padding: 2rem;
}

.payment-failed p {
    margin-bottom: 1rem;
    color: #ccc;
}

/* Logo Animation in Navigation */
.nav-logo .logo-img {
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: rotate(360deg) scale(1.1);
}

/* Footer Logo Styling */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    margin: 0;
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

/* Enhanced Gaming Aesthetics */
body {
    background-attachment: scroll;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 127, 0.05) 0%, transparent 50%);
}

/* Particle Effects - Disabled to show Firebase banner */
.hero::after {
    display: none;
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Admin Tab Styles */
.admin-nav-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 255, 127, 0.2);
    padding-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #00FF7F transparent;
}

.admin-nav-tabs::-webkit-scrollbar {
    height: 4px;
}

.admin-nav-tabs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.admin-nav-tabs::-webkit-scrollbar-thumb {
    background: #00FF7F;
    border-radius: 2px;
}

.admin-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 127, 0.3);
    color: #ccc;
    padding: 0.8rem 1.5rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-tab:hover {
    background: rgba(0, 255, 127, 0.1);
    border-color: #00FF7F;
    color: #fff;
}

.admin-tab.active {
    background: linear-gradient(45deg, #00FF7F, #00E676);
    border-color: #00FF7F;
    color: #fff;
    transform: translateY(-2px);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.tab-header h2 {
    color: #fff;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .admin-container {
        margin-top: 80px;
        padding: 1rem 0;
    }
    
    .admin-dashboard {
        padding: 0 0.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .admin-header h1 {
        font-size: 1.8rem;
    }
    
    .admin-nav-tabs {
        gap: 0.25rem;
        padding-bottom: 0.5rem;
    }
    
    .admin-tab {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .admin-tab i {
        font-size: 0.9rem;
    }
    
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .admin-stat-card {
        padding: 1rem;
    }
    
    .admin-stat-card h3 {
        font-size: 1.5rem;
    }
}

/* Admin Message Notifications */
.admin-message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    min-width: 300px;
    max-width: 500px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
}

.admin-message.success {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 200, 100, 0.1));
    border: 1px solid #00ff88;
    color: #00ff88;
}

.admin-message.error {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(200, 50, 70, 0.1));
    border: 1px solid #ff4757;
    color: #ff4757;
}

.admin-message.info {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 100, 200, 0.1));
    border: 1px solid #007bff;
    color: #007bff;
}

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

.message-content i {
    font-size: 1.2rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Payment Modal Styles */
.payment-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.3);
}

.payment-subtitle {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.payment-details {
    margin-bottom: 2rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-item.total {
    font-weight: bold;
    font-size: 1.1rem;
    color: #00FF7F;
    border-bottom: 2px solid #00FF7F;
}

.payment-methods h4 {
    color: #00ffff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.payment-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.payment-option:hover {
    border-color: rgba(0, 255, 127, 0.5);
    background: rgba(0, 255, 127, 0.1);
}

.payment-option.active {
    border-color: #00FF7F;
    background: rgba(0, 255, 127, 0.2);
}

.payment-option i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #00FF7F;
}

.payment-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payment-btn {
    flex: 2;
}

.payment-security {
    text-align: center;
    color: #00ffff;
    font-size: 0.85rem;
    padding: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
}

.payment-security i {
    margin-right: 0.5rem;
}

.payment-summary {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.payment-summary h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.summary-row.total {
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding-top: 0.5rem;
    margin-top: 1rem;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #00FF7F;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.15), rgba(0, 255, 255, 0.15), rgba(128, 0, 255, 0.1));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(0, 255, 127, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 255, 127, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #00FF7F;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.25), rgba(0, 255, 255, 0.25), rgba(128, 0, 255, 0.2));
    box-shadow: 0 15px 40px rgba(0, 255, 127, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}

.feature-card i {
    font-size: 3rem;
    background: linear-gradient(45deg, #00FF7F, #00ffff, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 127, 0.5));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Winner Section - Auto Sliding Carousel */
.winner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
}

.winners-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.winners-carousel {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    min-height: 400px;
}

.winner-slide {
    display: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    animation: slideIn 0.5s ease-in-out;
}

.winner-slide.active {
    display: block;
}

.winner-slide-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.winner-image-container {
    position: relative;
}

.winner-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.winner-image.first-place {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.winner-image.second-place {
    border-color: #c0c0c0;
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.3);
}

.winner-image.third-place {
    border-color: #cd7f32;
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.3);
}

.winner-position-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.winner-position-badge.first-place {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.winner-position-badge.second-place {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.winner-position-badge.third-place {
    background: linear-gradient(135deg, #cd7f32, #daa520);
}

.winner-info {
    color: #fff;
}

.winner-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.winner-tournament {
    font-size: 1.3rem;
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.winner-game {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.winner-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.winner-prize {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.winner-date {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.winner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.8), rgba(255, 0, 128, 0.6));
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    transform: scale(1.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .winner-slide-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .winner-image-container {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .winner-image {
        height: 250px;
    }
    
    .winner-name {
        font-size: 2rem;
    }
    
    .winner-details {
        justify-content: center;
        gap: 1rem;
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* No Winners Display */
.no-winners {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.no-winners:hover {
    border-color: #00FF7F;
    background: rgba(0, 255, 127, 0.1);
    transform: translateY(-5px);
}

.no-winners .winner-icon {
    font-size: 4rem;
    color: #00FF7F;
    margin-bottom: 1rem;
    animation: trophyBounce 3s ease-in-out infinite;
}

@keyframes trophyBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.no-winners h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.6);
}

.no-winners p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.no-winners .coming-soon {
    color: #00ffff;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    animation: comingSoonGlow 2s ease-in-out infinite alternate;
}

@keyframes comingSoonGlow {
    from {
        text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
    }
    to {
        text-shadow: 0 0 25px rgba(0, 255, 255, 0.9), 0 0 35px rgba(0, 255, 255, 0.4);
    }
}

/* Winners Podium Display */
.winners-podium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.podium-winner {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(15px);
    border: 2px solid;
    transition: all 0.4s ease;
    overflow: hidden;
}

.podium-winner.first-place {
    border-color: #ffd700;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.podium-winner.second-place {
    border-color: #c0c0c0;
    box-shadow: 0 10px 40px rgba(192, 192, 192, 0.4);
}

.podium-winner.third-place {
    border-color: #cd7f32;
    box-shadow: 0 10px 40px rgba(205, 127, 50, 0.4);
}

.podium-winner:hover {
    transform: translateY(-10px) scale(1.02);
}

.podium-winner.first-place:hover {
    transform: translateY(-10px) scale(1.08);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.6);
}

.winner-rank {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.winner-rank.first {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.winner-rank.second {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.6);
    color: #333;
}

.winner-rank.third {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    box-shadow: 0 5px 20px rgba(205, 127, 50, 0.6);
}

.podium-winner-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 1rem auto 1.5rem;
    border: 3px solid #00FF7F;
}

.first-place .podium-winner-photo {
    border-color: #ffd700;
}

.second-place .podium-winner-photo {
    border-color: #c0c0c0;
}

.third-place .podium-winner-photo {
    border-color: #cd7f32;
}

.podium-winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podium-winner-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
    color: #fff;
}

.podium-winner-info p {
    color: #00ffff;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.winner-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
    text-align: left;
}

.podium-winner-prize {
    font-size: 1.5rem;
    font-weight: 900;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    color: #000;
    text-shadow: none;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    animation: prizeShine 2s ease-in-out infinite;
}

@keyframes prizeShine {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.first-place .podium-winner-prize {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.second-place .podium-winner-prize {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.4);
}

.third-place .podium-winner-prize {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    box-shadow: 0 5px 20px rgba(205, 127, 50, 0.4);
}

/* Admin Winner Management Styles */
.current-winners {
    margin-top: 2rem;
}

.current-winners h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', monospace;
}

.winners-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.no-winners-admin {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 255, 127, 0.3);
    border-radius: 15px;
}

.empty-state {
    color: #ccc;
}

.empty-state i {
    font-size: 3rem;
    color: #00FF7F;
    margin-bottom: 1rem;
    display: block;
}

.empty-state h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', monospace;
}

.admin-winner-card {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(0, 255, 255, 0.1));
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.admin-winner-card.first-place {
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.admin-winner-card.second-place {
    border-color: #c0c0c0;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.3);
}

.admin-winner-card.third-place {
    border-color: #cd7f32;
    box-shadow: 0 5px 20px rgba(205, 127, 50, 0.3);
}

.admin-winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.4);
}

.admin-winner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-winner-position {
    background: linear-gradient(45deg, #00FF7F, #00E676);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-winner-card.first-place .admin-winner-position {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
}

.admin-winner-card.second-place .admin-winner-position {
    background: linear-gradient(45deg, #c0c0c0, #e8e8e8);
    color: #000;
}

.admin-winner-card.third-place .admin-winner-position {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    color: #fff;
}

.admin-winner-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
    min-width: auto;
}

.admin-winner-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid #00FF7F;
}

.admin-winner-card.first-place .admin-winner-photo {
    border-color: #ffd700;
}

.admin-winner-card.second-place .admin-winner-photo {
    border-color: #c0c0c0;
}

.admin-winner-card.third-place .admin-winner-photo {
    border-color: #cd7f32;
}

.admin-winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-winner-info {
    text-align: center;
}

.admin-winner-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: 'Orbitron', monospace;
}

.admin-winner-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.admin-winner-description {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
    text-align: left;
}

.admin-winner-description strong {
    color: #00ffff;
}

/* Form Help Text */
.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

/* Winner Modal Enhancements */
.winner-modal-content {
    max-width: 700px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.winner-modal-content .modal-header {
    background: linear-gradient(45deg, #00FF7F, #00E676);
    color: #fff;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.winner-modal-content .modal-header h3 {
    margin: 0;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
}

.winner-modal-content .close {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.winner-modal-content .close:hover {
    opacity: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .winners-admin-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-winner-actions {
        flex-direction: column;
    }
    
    .admin-winner-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.winner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 127, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.winner-container {
    position: relative;
    z-index: 2;
}

.winner-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.winner-placeholder:hover {
    border-color: #00FF7F;
    background: rgba(0, 255, 127, 0.1);
    transform: translateY(-5px);
}

.winner-icon {
    font-size: 4rem;
    color: #00FF7F;
    margin-bottom: 1rem;
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.winner-placeholder h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
}

.winner-placeholder p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.winner-display {
    display: flex;
    justify-content: center;
}

.winner-card {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(0, 255, 255, 0.1));
    border: 3px solid #00FF7F;
    border-radius: 25px;
    padding: 3rem;
    text-align: center;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 255, 127, 0.4);
    animation: winnerGlow 3s ease-in-out infinite;
    max-width: 500px;
    width: 100%;
}

@keyframes winnerGlow {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 255, 127, 0.4); }
    50% { box-shadow: 0 25px 80px rgba(0, 255, 127, 0.6); }
}

.winner-photo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #00FF7F;
    box-shadow: 0 0 30px rgba(0, 255, 127, 0.6);
}

.winner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-crown {
    position: absolute;
    top: -15px;
    right: -10px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.5);
    animation: crownRotate 4s linear infinite;
}

@keyframes crownRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.winner-info h3 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.8);
}

.winner-info p {
    color: #00ffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.winner-prize {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    padding: 1rem 2rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    text-shadow: none;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    animation: prizeShine 2s ease-in-out infinite;
}

@keyframes prizeShine {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.winner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.winner-actions .btn {
    min-width: 120px;
}

/* Winner Modal Styles */
.winner-modal-content {
    max-width: 600px;
    width: 95%;
}

.winner-modal-content h2 {
    text-align: center;
    color: #00FF7F;
    font-family: 'Orbitron', monospace;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn {
    min-width: 120px;
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
    border: 2px solid #dc3545;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #c82333, #a71e2a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

/* Desktop Section Improvements */
@media (min-width: 1200px) {
    .section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto 3rem;
        line-height: 1.5;
    }
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), 
                url('https://firebasestorage.googleapis.com/v0/b/battle-x-peo.firebasestorage.app/o/Supported%20Games%20Banner.jpg?alt=media&token=2807fda7-05bc-43fb-aafb-870fec17fc68');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.1), rgba(255, 0, 128, 0.05));
    z-index: 1;
}

.games-section .container {
    position: relative;
    z-index: 2;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

/* Desktop Games Grid */
@media (min-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .game-card {
        padding: 2rem;
    }
    
    .game-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .game-card p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(0, 255, 255, 0.2), rgba(255, 0, 128, 0.15));
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(0, 255, 127, 0.4);
    background-clip: padding-box;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 255, 127, 0.2);
}

.game-card:hover {
    transform: scale(1.05);
    border-color: #00FF7F;
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.3), rgba(0, 255, 255, 0.3), rgba(255, 0, 128, 0.25));
    box-shadow: 0 12px 40px rgba(0, 255, 127, 0.4), 0 0 20px rgba(0, 255, 255, 0.3);
}

.game-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.game-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #00FF7F;
}

.game-card p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Tournament Cards */
.tournaments-section {
    padding: 120px 0 80px;
    background: #111;
}

.rules-preview {
    padding: 80px 0;
    background: #0a0a0a;
}

.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tournament-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.8) 100%);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 255, 127, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tournament-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 127, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tournament-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00FF7F, #00E676, #00FF7F);
    background-size: 200% 200%;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: gradientShift 3s ease-in-out infinite;
}

.tournament-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00FF7F;
    box-shadow: 0 20px 60px rgba(0, 255, 127, 0.4);
}

.tournament-card:hover::before {
    opacity: 1;
}

.tournament-card:hover::after {
    opacity: 1;
}

.tournament-card:hover .card-title {
    color: #00FF7F;
    text-shadow: 0 0 15px rgba(0, 255, 127, 0.8);
}

.tournament-card .card-title {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.tournament-title {
    font-size: 1.5rem;
    color: #00FF7F;
    font-weight: bold;
}

.tournament-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-open {
    background: #28a745;
    color: #fff;
}

.status-closed {
    background: #dc3545;
    color: #fff;
}

.tournament-info {
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.info-label {
    font-weight: bold;
}

.info-value {
    color: #fff;
}

.prize-pool {
    color: #00ffff !important;
    font-weight: bold;
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.form-group input::placeholder {
    color: #999;
}

.players-section {
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.players-section h3 {
    color: #00ffff;
    margin-bottom: 1rem;
    text-align: center;
}

.player-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Admin Panel */
.admin-container {
    margin-top: 100px;
    padding: 2rem 0;
    min-height: 100vh;
    overflow-y: auto;
}

.admin-dashboard {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-welcome {
    color: #ccc;
    font-size: 1rem;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.teams-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.teams-table {
    width: 100%;
    min-width: 800px;
}

.teams-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
}

.teams-table th,
.teams-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 127, 0.1);
    color: #fff;
}

.teams-table th {
    background: rgba(0, 255, 127, 0.1);
    color: #00FF7F;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.teams-table tbody tr:hover {
    background: rgba(0, 255, 127, 0.05);
}

.team-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.team-actions .btn {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    min-width: auto;
}

.player-list {
    font-size: 0.9rem;
    color: #ccc;
}

.player-item {
    margin-bottom: 0.2rem;
}

.payment-status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.payment-status.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid #28a745;
}

.payment-status.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid #ffc107;
}

.payment-status.failed {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.admin-stat-card h3 {
    font-size: 2rem;
    color: #00FF7F;
    margin-bottom: 0.5rem;
}

.admin-stat-card p {
    color: #ccc;
}

.admin-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px;
    border: 2px solid rgba(0, 255, 127, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.teams-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.teams-table table {
    width: 100%;
    border-collapse: collapse;
}

.teams-table th,
.teams-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.teams-table th {
    background: rgba(0, 255, 127, 0.2);
    color: #fff;
    font-weight: bold;
}

.teams-table td {
    color: #ccc;
}

.payment-success {
    color: #28a745;
    font-weight: bold;
}

.payment-pending {
    color: #ffc107;
    font-weight: bold;
}

/* Chat Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Rajdhani', sans-serif;
}

.chat-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.chat-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff0080;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: bounce 2s infinite;
    border: 2px solid white;
    box-shadow: 0 2px 10px rgba(255, 0, 128, 0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

.chat-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 255, 127, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 127, 0.3);
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-container.active {
    display: flex;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    color: white;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.chat-controls {
    display: flex;
    gap: 0.5rem;
}

.chat-minimize,
.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chat-minimize:hover,
.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 350px;
}

.welcome-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: slideInLeft 0.5s ease;
}

.admin-avatar,
.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.admin-avatar {
    background: linear-gradient(135deg, #00ffff, #ff0080);
    color: white;
}

.user-avatar {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    color: white;
}

.admin-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: slideInLeft 0.5s ease;
}

.admin-message .message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 20px 20px 20px 5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    animation: messageSlideIn 0.3s ease-out;
}

.user-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-direction: row-reverse;
    animation: slideInRight 0.5s ease;
}

.user-message .message-content {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    border-radius: 20px 20px 5px 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
    animation: messageSlideInRight 0.3s ease-out;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 250px;
    position: relative;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
    font-size: 0.9rem;
}

.message-content p + p {
    margin-top: 0.5rem;
}

.message-actions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-content:hover .message-actions {
    opacity: 1;
}

.message-delete {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.message-delete:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.05);
}

.message-timestamp {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

.message-status {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.message-status i {
    font-size: 0.6rem;
}

.message-status.sent {
    color: rgba(255, 255, 255, 0.6);
}

.message-status.delivered {
    color: #4CAF50;
}

.message-status.read {
    color: #00FF7F;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.chat-attachment,
.chat-emoji {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.chat-attachment:hover,
.chat-emoji:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00FF7F;
    transform: scale(1.1);
}

.chat-status {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-replies {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-reply-btn {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(255, 0, 128, 0.2));
    border: 1px solid rgba(0, 255, 127, 0.3);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: left;
    backdrop-filter: blur(10px);
}

.quick-reply-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.4), rgba(255, 0, 128, 0.4));
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.3);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    opacity: 0.7;
}

.typing-indicator.hidden {
    display: none;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #00FF7F;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

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

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

.chat-input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.chat-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chat-input-wrapper input:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.chat-send {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.4);
}

.chat-user-info {
    display: flex;
    gap: 0.5rem;
}

.chat-user-info input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
}

.chat-user-info input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-user-info input:focus {
    outline: none;
    border-color: rgba(0, 255, 127, 0.5);
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .chat-container {
        width: 300px;
        height: 450px;
        bottom: 70px;
    }
    
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-toggle {
        padding: 0.8rem 1.2rem;
    }
    
    .chat-badge {
        font-size: 0.9rem;
    }
}

/* Enhanced Team Management Dashboard */
.teams-table-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(20px);
    overflow-x: auto;
}

.teams-table {
    width: 100%;
    min-width: 800px;
}

.teams-table table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.teams-table th,
.teams-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.teams-table th {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(255, 0, 128, 0.1));
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.teams-table tbody tr {
    transition: all 0.3s ease;
}

.teams-table tbody tr:hover {
    background: rgba(0, 255, 127, 0.1);
    transform: translateY(-2px);
}

.payment-status {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-status.success {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
}

.payment-status.pending {
    background: linear-gradient(135deg, #00E676, #ff8c00);
    color: #000;
}

.payment-status.failed {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #fff;
}

.team-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.action-btn.view {
    background: linear-gradient(135deg, #00ffff, #0099cc);
    color: #000;
}

.action-btn.edit {
    background: linear-gradient(135deg, #00E676, #ff8c00);
    color: #000;
}

.action-btn.delete {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: #fff;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Admin Controls Enhancement */
.admin-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.filter-select {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #00FF7F;
}

/* Tab Header Enhancement */
.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 127, 0.3);
}

.tab-header h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-header h2 i {
    color: #00FF7F;
}

.tab-actions {
    display: flex;
    gap: 1rem;
}

/* Admin Chat Interface Styles */
/* Tournament Management Form - Responsive Design */
#add-tournament-modal .modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    z-index: 10001;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.9));
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

#add-tournament-modal .modal-header {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(255, 0, 128, 0.1));
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#add-tournament-modal .modal-header h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

#add-tournament-modal .modal-header h3 i {
    color: #00FF7F;
}

#add-tournament-modal .close {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#add-tournament-modal .close:hover {
    color: #00FF7F;
    transform: rotate(90deg);
}

#add-tournament-form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 15px rgba(0, 255, 127, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 20px 20px;
}

.modal-actions .btn {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    #add-tournament-modal .modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    #add-tournament-modal .modal-header {
        padding: 1rem 1.5rem;
    }
    
    #add-tournament-modal .modal-header h3 {
        font-size: 1.3rem;
    }
    
    #add-tournament-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .modal-actions {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    /* Team Management Mobile Responsive */
    .teams-table-container {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .teams-table {
        min-width: 600px;
    }
    
    .teams-table th,
    .teams-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .admin-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .tab-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .tab-actions {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .action-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .team-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .payment-status {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    #add-tournament-modal .modal-content {
        width: 98%;
        margin: 0.5rem;
    }
    
    #add-tournament-modal .modal-header {
        padding: 0.8rem 1rem;
    }
    
    #add-tournament-modal .modal-header h3 {
        font-size: 1.1rem;
    }
    
    #add-tournament-form {
        padding: 1rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .teams-table th,
    .teams-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.7rem;
    }
    
    .teams-table {
        min-width: 500px;
    }
    
    .action-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Tablet Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    #add-tournament-modal .modal-content {
        width: 90%;
        max-width: 700px;
    }
    
    .form-row {
        gap: 1.2rem;
    }
    
    .teams-table-container {
        padding: 1.2rem;
    }
    
    .admin-controls {
        gap: 0.8rem;
    }
    
    .search-box {
        min-width: 200px;
    }
}

/* Admin Chat Interface Styles */
.admin-chat-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(20px);
}

.admin-chat-section h3 {
    color: #00FF7F;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.chat-sessions {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 15px;
}

.no-chats {
    text-align: center;
    color: #999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.no-chats i {
    font-size: 3em;
    color: rgba(255, 255, 255, 0.3);
}

.no-chats h4 {
    margin: 0;
    color: #ccc;
    font-size: 1.2em;
}

.no-chats p {
    margin: 0;
    color: #999;
    font-size: 0.9em;
    max-width: 250px;
    line-height: 1.4;
}

.chat-session-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-session-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.session-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-count {
    background: linear-gradient(135deg, #00FF7F, #00E676);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.last-message {
    color: #ccc;
    font-size: 0.9em;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-time {
    color: #999;
    font-size: 0.8em;
}

.admin-message-item {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* Quick Reply Menu */
.quick-reply-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.quick-reply-item {
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    color: #ccc;
    font-size: 0.9em;
}

.quick-reply-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.no-messages {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}

/* Emoji Picker */
.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 300px;
}

.emoji-item {
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.emoji-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.2);
}

/* Enhanced Session Items */
.chat-session-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.chat-session-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #00FF7F, #00E676);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-session-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.chat-session-item:hover::before {
    opacity: 1;
}

.chat-session-item.unread {
    border-color: rgba(0, 255, 127, 0.5);
}

.chat-session-item.unread::before {
    opacity: 1;
}

/* Admin Page Mobile Responsiveness */
@media (max-width: 1200px) {
    .admin-chat-layout {
        grid-template-columns: 320px 1fr;
    }
    
    .chat-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-nav-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .admin-nav-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 992px) {
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .admin-header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .admin-nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .admin-tab {
        flex: 1;
        min-width: 120px;
        padding: 10px 8px;
        font-size: 0.9em;
    }
    
    .admin-tab i {
        display: block;
        margin-bottom: 5px;
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .admin-container {
        padding: 10px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .admin-header {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 1.5em;
        margin-bottom: 10px;
    }
    
    .admin-header-actions {
        gap: 8px;
    }
    
    .admin-welcome {
        font-size: 0.9em;
        text-align: center;
    }
    
    .logout-btn {
        width: 100%;
        padding: 12px;
        font-size: 1em;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 44px; /* Touch target size */
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .logout-btn:hover,
    .logout-btn:focus {
        background: rgba(0, 255, 127, 0.2);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 255, 127, 0.3);
    }
    
    .logout-btn:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(0, 255, 127, 0.2);
    }
    
    .admin-nav-tabs {
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .admin-tab {
        width: 100%;
        padding: 15px;
        text-align: left;
        justify-content: flex-start;
        gap: 12px;
    }
    
    .admin-tab i {
        font-size: 1.1em;
        margin-bottom: 0;
        width: 20px;
    }
    
    .admin-tab-content {
        padding: 15px;
        margin: 0;
    }
    
    /* Chat Layout Mobile */
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }
    
    .chat-sessions-panel {
        height: 300px;
        order: 2;
    }
    
    .chat-conversation-panel {
        height: 400px;
        order: 1;
    }
    
    .chat-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
        flex-direction: row;
        gap: 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }
    
    .stat-number {
        font-size: 1.5em;
    }
    
    .chat-actions-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .toolbar-btn {
        padding: 8px 15px;
        font-size: 0.9em;
        flex: 1;
        min-width: 100px;
    }
    
    .sessions-controls {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .sessions-header {
        padding: 15px;
    }
    
    .admin-chat-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .session-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .session-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .chat-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .control-btn {
        padding: 8px;
        font-size: 0.8em;
    }
    
    .admin-chat-input {
        padding: 15px;
    }
    
    .input-toolbar {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .input-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-wrapper textarea {
        min-height: 60px;
    }
    
    .send-btn {
        width: 100%;
        border-radius: 8px;
        height: 45px;
    }
    
    .input-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* Tables Mobile */
    .admin-table {
        font-size: 0.8em;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
    
    .admin-table thead,
    .admin-table tbody,
    .admin-table th,
    .admin-table td,
    .admin-table tr {
        display: block;
    }
    
    .admin-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .admin-table tr {
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }
    
    .admin-table td {
        border: none;
        position: relative;
        padding: 8px 0;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }
    
    .admin-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: #00FF7F;
    }
    
    /* Form Mobile */
    .form-container {
        max-width: 100% !important;
        margin: 0;
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Stats Cards Mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2em;
        margin-bottom: 5px;
    }
    
    .stat-label {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .admin-container {
        padding: 5px;
    }
    
    .admin-header {
        padding: 10px;
    }
    
    .section-title {
        font-size: 1.3em;
    }
    
    .admin-tab {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .admin-tab-content {
        padding: 10px;
    }
    
    .chat-conversation-panel {
        height: 350px;
    }
    
    .chat-sessions-panel {
        height: 250px;
    }
    
    .stat-card {
        padding: 12px;
        gap: 8px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
    }
    
    .stat-number {
        font-size: 1.3em;
    }
    
    .toolbar-btn {
        padding: 6px 10px;
        font-size: 0.8em;
        min-width: 80px;
    }
    
    .control-btn {
        padding: 6px;
    }
    
    .admin-chat-input {
        padding: 10px;
    }
    
    .input-wrapper textarea {
        min-height: 50px;
        padding: 10px;
    }
    
    .send-btn {
        height: 40px;
    }
}

.message-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-message-item:hover .message-actions {
    opacity: 1;
}

.message-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
}

.delete-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    transform: scale(1.05);
}

.admin-chat-input {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.admin-chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-chat-input input:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.admin-chat-input button {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-chat-input button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff0080, #00ffff, #00FF7F);
    box-shadow: 0 12px 35px rgba(0, 255, 127, 0.5), 0 0 20px rgba(0, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Enhanced Chat Support Header */
.chat-support-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;

    .search-box input {
        width: 100%;
        padding: 8px 12px 8px 35px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        color: white;
        font-size: 0.9em;
    }

    .search-box input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .filter-dropdown {
        position: relative;
    }

    .filter-btn {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        padding: 8px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .filter-menu {
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 8px;
        padding: 10px;
        min-width: 150px;
        margin-top: 5px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
    }

    .filter-menu label {
        display: block;
        color: white;
        padding: 5px 0;
        cursor: pointer;
        font-size: 0.9em;
    }

    .filter-menu input {
        margin-right: 8px;
    }

    .chat-stats {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .chat-stat {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
    }

    .chat-stat i {
        color: #00ffff;
    }

    .chat-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 15px;
        backdrop-filter: blur(20px);
    }

    .placeholder-content {
        text-align: center;
        color: rgba(255, 255, 255, 0.6);
    }

    .placeholder-content i {
        font-size: 3rem;
        margin-bottom: 1rem;
        color: rgba(0, 255, 127, 0.5);
    }

    .placeholder-content h3 {
        margin-bottom: 0.5rem;
        color: rgba(255, 255, 255, 0.8);
    }
    grid-template-columns: 380px 1fr;
    gap: 25px;
    height: 650px;
    margin-top: 20px;
}

.chat-sessions-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.sessions-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    color: white;
}

.sessions-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.sessions-title h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sessions-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.sessions-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
}

.search-box input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9em;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.filter-dropdown {
    position: relative;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.filter-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 10px;
    min-width: 150px;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.filter-menu label {
    display: block;
    color: white;
    padding: 5px 0;
    cursor: pointer;
    font-size: 0.9em;
}

.filter-menu input {
    margin-right: 8px;
}

.chat-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.chat-stat i {
    color: #00ffff;
}

.chat-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(20px);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.placeholder-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgba(0, 255, 127, 0.5);
}

.placeholder-content h3 {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.active-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.admin-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.session-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
    font-weight: 600;
}

.session-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9em;
    opacity: 0.9;
}

.session-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8em;
}

.session-status.online i {
    color: #4ade80;
}

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

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.control-btn.success:hover {
    background: rgba(34, 197, 94, 0.3);
}

.control-btn.warning:hover {
    background: rgba(251, 191, 36, 0.3);
}

.control-btn.danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
}

.chat-user-info h4 {
    margin: 0 0 0.25rem 0;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
}

.chat-user-info span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 400px;
}

.admin-chat-input {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
}

.input-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toolbar-icon {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ccc;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.toolbar-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.input-wrapper textarea {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 15px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    resize: none;
    min-height: 45px;
    max-height: 120px;
    overflow-y: auto;
}

.input-wrapper input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.input-wrapper textarea::placeholder,
.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-wrapper textarea:focus,
.input-wrapper input:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

.input-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.8em;
}

.message-options {
    display: flex;
    gap: 15px;
}

.option {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ccc;
    cursor: pointer;
    font-size: 0.9em;
}

.option input[type="checkbox"] {
    margin: 0;
    accent-color: #00FF7F;
}

.send-btn {
    background: linear-gradient(135deg, #00FF7F, #ff0080);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.4);
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.char-count {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .admin-chat-section {
        padding: 1rem;
    }
    
    .admin-chat-layout {
        grid-template-columns: 1fr;
        height: auto;
        gap: 1rem;
    }
    
    .chat-sessions-panel {
        height: 300px;
    }
    
    .admin-chat-messages {
        height: 300px;
    }
    
    .admin-message-item.user {
        margin-right: 1rem;
    }
    
    .admin-message-item.admin {
        margin-left: 1rem;
    }
    
    .chat-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chat-stat {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Desktop and Laptop Responsive Design */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        margin: 0 auto;
        padding: 0 40px;
    }
    
    .hero {
        padding: 180px 0 120px;
    }
    
    .hero-title {
        font-size: 5.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 2rem;
        max-width: 800px;
    }
    
    .hero-stats {
        gap: 4rem;
        margin-top: 4rem;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 3rem;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 32px;
    }
    
    .hero {
        padding: 160px 0 100px;
    }
    
    .hero-title {
        font-size: 4.8rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        max-width: 700px;
    }
    
    .hero-stats {
        gap: 3rem;
        margin-top: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 28px;
    }
    
    .hero {
        padding: 140px 0 90px;
    }
    
    .hero-title {
        font-size: 4.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
        max-width: 600px;
    }
    
    .hero-stats {
        gap: 2.5rem;
        margin-top: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 1199px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .tournaments-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .admin-stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .admin-controls {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .filter-select {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s ease-in-out;
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover, .nav-link.active {
        background: rgba(0, 255, 127, 0.2);
        color: #00FF7F;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    .hero {
        height: auto;
        padding: 140px 0 80px;
        text-align: center;
        background-attachment: scroll; /* Disable fixed bg on mobile for performance */
    }

    .hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 95%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 200px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        position: static;
        transform: none;
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .stat {
        background: rgba(0, 255, 127, 0.1);
        padding: 1.5rem;
        border-radius: 12px;
        border: 1px solid rgba(0, 255, 127, 0.2);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 240px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .games-grid,
    .rules-grid,
    .features-grid,
    .tournaments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .game-card,
    .rule-card,
    .tournament-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }
    
    .player-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filter-select {
        width: 100%;
        padding: 0.8rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-stat-card {
        padding: 1.5rem;
        text-align: center;
    }

    .teams-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin: 1rem 0;
    }
    
    .teams-table {
        min-width: 100%;
    }
    
    .teams-table table {
        min-width: 800px;
        width: 100%;
    }
    
    .teams-table th,
    .teams-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .registration-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .payment-summary {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .tournaments-grid {
        padding: 0 1rem;
    }
}

/* General Admin Styles */
.admin-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 2rem 0;
}

/* Enhanced Mobile Touch Targets */
.admin-tab,
.btn,
.control-btn,
.toolbar-btn,
.logout-btn {
    min-height: 44px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Improved Button Responsiveness */
.btn {
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:active {
    transform: scale(0.98);
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
    .nav-toggle {
        z-index: 1001;
        position: relative;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2em;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Gaming Footer */
footer {
    background: 
        linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(22, 33, 62, 0.8) 100%),
        url('https://firebasestorage.googleapis.com/v0/b/battle-x-peo.firebasestorage.app/o/banner.jpg?alt=media&token=0691529e-1597-44e2-a437-b57e105950d4');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 3rem 0 1rem;
    border-top: 2px solid #00FF7F;
    position: relative;
    overflow: hidden;
}

/* Desktop Footer Improvements */
@media (min-width: 1200px) {
    footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 3rem;
        margin-bottom: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .social-links {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .social-link {
        font-size: 1.5rem;
        padding: 1rem;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(0, 255, 127, 0.05) 52px
    );
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-family: 'Orbitron', monospace;
    color: #00FF7F;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00FF7F;
    text-shadow: 0 0 5px rgba(0, 255, 127, 0.5);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 255, 127, 0.3);
    margin-top: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Gaming Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00FF7F, #00E676);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #e55a2b, #e67a32);
}

/* Gaming Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 127, 0.3);
    border-top: 3px solid #00FF7F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gaming Pulse Effect */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 127, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0);
    }
}

/* Gaming Registration Page Styles */
/* Hero Section - Premium Gaming UI */

/* Gaming Background Images */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: backgroundSlide 12s infinite;
}

.bg-bgmi {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                      url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    animation-delay: 0s;
}

.bg-freefire {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                      url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80');
    animation-delay: 6s;
}

@keyframes backgroundSlide {
    0%, 45% { opacity: 1; }
    55%, 100% { opacity: 0; }
}

.registration-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 25% 25%, rgba(0, 255, 127, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.registration-header {
    text-align: center;
    margin-bottom: 4rem;
}

.registration-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00FF7F, #00E676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0 30px rgba(0, 255, 127, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 3rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

/* Gaming Steps */
.gaming-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.gaming-step {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    min-width: 200px;
    position: relative;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.gaming-step.active {
    background: rgba(0, 255, 127, 0.1);
    border-color: #00FF7F;
    box-shadow: 0 0 30px rgba(0, 255, 127, 0.3);
}

.step-icon {
    font-size: 2rem;
    color: #00FF7F;
    margin-bottom: 1rem;
}

.step-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00FF7F;
    margin-bottom: 0.5rem;
}

.step-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 127, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gaming-step:hover .step-glow {
    opacity: 1;
}

/* Gaming Form Container */
.gaming-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #00FF7F;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00FF7F, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

/* Gaming Form Sections */
.form-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(22, 33, 62, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: rgba(0, 255, 127, 0.4);
    box-shadow: 0 5px 20px rgba(0, 255, 127, 0.1);
}

.section-header {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00FF7F;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Player Cards */
.player-card {
    background: rgba(10, 10, 10, 0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 127, 0.3);
    transition: all 0.3s ease;
}

.player-card:hover {
    border-color: #00FF7F;
    box-shadow: 0 5px 15px rgba(0, 255, 127, 0.2);
    transform: translateY(-2px);
}

.player-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.3);
}

.player-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #00FF7F;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Gaming Payment Summary */
.gaming-payment-summary {
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.payment-header h3 {
    font-family: 'Orbitron', monospace;
    color: #00FF7F;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-details .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
}

.payment-details .summary-row.total {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.2rem;
    color: #00FF7F;
}

/* Gaming Submit Button */
.gaming-submit-btn {
    position: relative;
    overflow: hidden;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1.5rem 3rem;
    background: linear-gradient(45deg, #00FF7F, #00E676);
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.4);
}

.gaming-submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 255, 127, 0.6);
}

.btn-glow {
    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.6s ease;
}

.gaming-submit-btn:hover .btn-glow {
    left: 100%;
}

/* Gaming Links */
.glow-link {
    color: #00FF7F;
    text-decoration: none;
    transition: all 0.3s ease;
}

.glow-link:hover {
    text-shadow: 0 0 10px #00FF7F;
    color: #00E676;
}

.checkbox-label {
    color: #ccc;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    margin-left: 0.5rem;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }

    .nav-logo h2 {
        font-size: 1.4rem;
    }
    
    .logo-img {
        width: 70px;
        height: 70px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 95%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        width: 200px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 1rem;
        padding: 0;
    }
    
    .stat {
        padding: 1.2rem;
    }
    
    .stat h3 {
        font-size: 1.8rem;
    }
    
    .stat p {
        font-size: 0.9rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem 0;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .tournament-header {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
        text-align: left;
    }
    
    .tournament-card {
        padding: 1.5rem 1rem;
    }
    
    .tournament-title {
        font-size: 1.3rem;
    }
    
    .feature-card,
    .game-card,
    .rule-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card i,
    .game-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .advantage-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .advantage-number {
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Enhanced Admin Panel Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 127, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.3);
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-welcome {
    color: #00E676;
    font-weight: 600;
}

/* Admin Navigation Tabs */
.admin-nav-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: rgba(26, 31, 46, 0.8);
    padding: 0.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.admin-tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.admin-tab:hover {
    background: rgba(0, 255, 127, 0.1);
    color: #00FF7F;
}

.admin-tab.active {
    background: linear-gradient(135deg, #00FF7F, #00E676);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

/* Tab Content */
.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 2px solid rgba(0, 255, 127, 0.3);
}

.tab-header h2 {
    color: #00FF7F;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-actions {
    display: flex;
    gap: 1rem;
}

/* Enhanced Statistics Cards */
.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(26, 31, 46, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
    border-color: rgba(0, 255, 127, 0.5);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00FF7F, #00E676);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

.stat-info h3 {
    margin: 0;
    font-size: 2rem;
    color: #00FF7F;
    font-weight: 700;
}

.stat-info p {
    margin: 0;
    color: #ccc;
    font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(26, 31, 46, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.quick-actions h3 {
    color: #00FF7F;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* Search and Controls */
.admin-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: #00FF7F;
    box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
}

/* Enhanced Tables */
.teams-table-container,
.admins-table-container {
    background: rgba(26, 31, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.teams-table table,
.admins-table {
    width: 100%;
    border-collapse: collapse;
}

.teams-table th,
.teams-table td,
.admins-table th,
.admins-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 127, 0.1);
}

.teams-table th,
.admins-table th {
    background: rgba(0, 255, 127, 0.1);
    color: #00FF7F;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.teams-table tbody tr:hover,
.admins-table tbody tr:hover {
    background: rgba(0, 255, 127, 0.05);
}

/* Tournament Cards Grid */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.tournament-card {
    background: rgba(26, 31, 46, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
    border-color: rgba(0, 255, 127, 0.5);
}

/* Modal Styles */
.modal {
    display: none !important;
    position: fixed !important;
    z-index: 99999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(5px) !important;
}

.modal[style*="display: flex"],
.modal[style*="display: block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

/* Team Details Modal Responsive */
.team-details-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.team-details-content {
    padding: 20px;
    color: #fff;
}

.team-details-content h4 {
    color: #00FF7F;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 127, 0.3);
    padding-bottom: 10px;
}

.team-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.team-detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-detail-label {
    font-weight: bold;
    color: #00FF7F;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.team-detail-value {
    color: #fff;
    font-size: 1rem;
}

.team-members-section {
    margin-top: 20px;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.member-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

/* Delete Confirmation Modal */
.delete-confirmation-modal {
    max-width: 450px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.delete-confirmation-modal.show {
    opacity: 1;
}

.delete-confirmation-modal .modal-header {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    border-bottom: 1px solid rgba(220, 53, 69, 0.3);
}

.delete-confirmation-modal .modal-header h3 {
    color: #dc3545;
}

.delete-confirmation-modal .modal-body {
    padding: 30px;
    text-align: center;
}

.delete-confirmation-modal #delete-confirmation-message {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.delete-confirmation-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.delete-confirmation-actions .btn {
    min-width: 120px;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.delete-confirmation-actions .btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    color: #fff;
}

.delete-confirmation-actions .btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.delete-confirmation-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.delete-confirmation-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Mobile Responsive for Team Details */
@media (max-width: 768px) {
    .team-details-modal {
        width: 95%;
        max-height: 95vh;
        margin: 2.5% auto;
    }
    
    .team-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .team-details-content {
        padding: 15px;
    }
    
    .member-info {
        grid-template-columns: 1fr;
    }
    
    .delete-confirmation-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .delete-confirmation-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
    background: rgba(0, 255, 127, 0.1);
    border-radius: 20px 20px 0 0;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #00FF7F;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    color: #ccc;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00FF7F;
}

.modal form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 127, 0.2);
}

/* Permissions Grid */
.permissions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(26, 31, 46, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.permission-item:hover {
    background: rgba(0, 255, 127, 0.1);
    border-color: rgba(0, 255, 127, 0.4);
}

.permission-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Status Badges */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-pending {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.status-failed {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.status-active {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-inactive {
    background: rgba(149, 165, 166, 0.2);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

/* Action Buttons */
.action-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    margin: 0 0.2rem;
    z-index: 10;
    position: relative;
    pointer-events: auto;
}

.action-btn.view {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.action-btn.edit {
    background: rgba(241, 196, 15, 0.2);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.action-btn.delete {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-nav-tabs {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .admin-tab {
        padding: 0.8rem 1rem;
    }
    
    .admin-stats {
        grid-template-columns: 1fr;
    }
    
    .admin-stat-card {
        padding: 1.2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .permissions-grid {
        grid-template-columns: 1fr;
    }
    
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .teams-table th,
    .teams-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .admin-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tab-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
}

@media (max-width: 480px) {
    .teams-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
    }
    
    .mock-payment-content, 
    .modal-content {
        padding: 1.5rem 1rem;
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .payment-summary {
        padding: 1.2rem;
        margin: 1rem 0;
    }
    
    .registration-steps {
        padding: 0 0.5rem;
    }
    
    .step {
        padding: 1rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
}

/* Logo Placeholder */
.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00FF7F, #ff8c42);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 255, 127, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.4);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 255, 127, 0.3);
    border-radius: 50%;
    border-top-color: #00FF7F;
    animation: spin 1s ease-in-out infinite;
}

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

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
    font-weight: bold;
}

.message.success {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid #28a745;
    color: #28a745;
}

.message.error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.hidden {
    display: none;
}

/* Final overrides for laptop widths to prevent hero overlap */
@media (max-width: 1366px) {
  .hero .hero-stats {
    position: static; /* override absolute */
    transform: none;
    margin-top: 2.5rem;
    gap: 2rem;
  }
  .hero .hero-buttons {
    margin-bottom: 1.25rem; /* create space above stats */
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .hero .hero-buttons .btn {
    padding: 9px 20px;
    font-size: 0.95rem;
  }
  .stat h3 { font-size: 1.6rem; }
  .stat p { font-size: 0.85rem; }
}

/* Also handle short-height viewports common on 1366x768 */
@media (max-height: 820px) and (min-width: 769px) {
  .hero .hero-stats {
    position: static;
    transform: none;
    margin-top: 2rem;
  }
}