/* Variables */
:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1a1a1a;
    --accent-color: #00ffff;
    --accent-secondary: #ff00ff;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
    --glow-color: rgba(0, 255, 255, 0.7);
    --glow-color-secondary: rgba(255, 0, 255, 0.7);
    --success-color: #00ff00;
    --danger-color: #ff0000;
    --warning-color: #ffff00;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Background Elements */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -2;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: var(--text-color);
    border-radius: 50%;
    animation: twinkle 2s infinite;
}

@keyframes twinkle {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Navigation Styles */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

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

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-color);
    font-size: 1.5rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 i {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hamburger animation when active */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Section and Container Styles */
.section {
    padding: 80px 0;
}

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--glow-color);
    font-size: 2rem;
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-primary:hover {
    background-color: #00e6e6;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Live Match Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--danger-color);
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: var(--danger-color);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Tab Controls */
.controls {
    display: flex;
    gap: 10px;
}

.tab-btn {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.tab-content {
    display: none;
}

/* Sort and Filter Controls */
.sort-order, .filter-team {
    background: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-left: 10px;
    min-width: 150px; /* Ensure consistent width */
}

.sort-order:focus, .filter-team:focus {
    outline: none;
    box-shadow: 0 0 10px var(--glow-color);
}

.sort-order:hover, .filter-team:hover {
    box-shadow: 0 0 10px var(--glow-color);
}

.sort-order option:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.view-toggle {
    display: flex;
    margin-left: 10px;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.view-btn {
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    min-width: 60px;
}

.view-btn:hover {
    box-shadow: 0 0 10px var(--glow-color);
}

.view-btn.active {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Kanban View Styles */
.results-grid.kanban-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kanban-column {
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 15px;
    min-width: 300px;
}

.kanban-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.kanban-column-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 0;
}

.kanban-column-count {
    background: rgba(0, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.kanban-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.kanban-item {
    background: var(--secondary-color);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 15px;
    transition: var(--transition);
}

.kanban-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.kanban-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.kanban-item-status {
    padding: 3px 8px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.kanban-item-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.kanban-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.kanban-team-name {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: center;
}

.kanban-team-score {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
}

.kanban-vs {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--warning-color);
    margin: 0 10px;
}

.kanban-item-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    text-align: center;
}

@media (max-width: 768px) {
    .sort-order, .filter-team {
        margin-left: 0;
        margin-top: 10px;
        display: block;
        width: 100%;
    }
    
    .view-toggle {
        margin-left: 0;
        margin-top: 10px;
        display: flex;
        width: 100%;
    }
    
    .view-btn {
        flex: 1;
    }
    
    .controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .results-grid.kanban-view {
        flex-direction: column;
    }
}

.tab-content.active {
    display: block;
}

.tab-instruction {
    margin: 20px auto;
    padding: 15px;
    background-color: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    font-style: italic;
    text-align: center;
    color: var(--text-color);
    font-size: 1rem;
    max-width: 80%;
}

/* Schedule Grid and Match Cards */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.match-card {
    background: linear-gradient(145deg, var(--secondary-color), #242424);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.live-match {
    border: 2px solid var(--danger-color);
}

.live-match::before {
    background: linear-gradient(90deg, var(--danger-color), #ff6b6b);
}

.pending-match {
    border: 2px solid var(--warning-color);
}

.pending-match::before {
    background: linear-gradient(90deg, var(--warning-color), #ffcc00);
}

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

.match-status {
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.match-status.live {
    background: rgba(255, 0, 0, 0.2);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.match-status.pending {
    background: rgba(255, 255, 0, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.match-timer {
    background: rgba(10, 10, 10, 0.7);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-family: 'Orbitron', sans-serif;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px; /* Standard gap between team info and score */
    flex: 1;
}

.team-left {
    text-align: left;
    justify-content: flex-start;
}

.team-right {
    text-align: right;
    justify-content: flex-end;
}

.team-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.team-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.team-score {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
}

.vs {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--warning-color);
    margin: 0 10px;
    text-shadow: 0 0 10px var(--warning-color);
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.team-left {
    text-align: left;
    justify-content: flex-start;
}

.team-right {
    text-align: right;
    justify-content: flex-end;
}

.team-info {
    position: relative;
    overflow: hidden;
    max-width: 120px; /* Limit width to prevent layout breakage */
    min-height: 1.5em; /* Ensure space for text */
}

.team-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 5px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

.team-info h3.sliding-text {
    animation: slideText 6s linear infinite;
    padding-right: 100%; /* Very wide padding to ensure full text visibility */
}

@keyframes slideText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.team-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.team-score {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
}

.vs {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--warning-color);
    margin: 0 10px;
    text-shadow: 0 0 10px var(--warning-color);
}

/* Leaderboard Form Indicators */
.form-win {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--success-color);
    border-radius: 50%;
    margin: 0 2px;
    box-shadow: 0 0 5px var(--success-color);
}

.form-loss {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--danger-color);
    border-radius: 50%;
    margin: 0 2px;
    box-shadow: 0 0 5px var(--danger-color);
}

.form-draw {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--warning-color);
    border-radius: 50%;
    margin: 0 2px;
    box-shadow: 0 0 5px var(--warning-color);
}

/* Leaderboard Table */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 26, 26, 0.8);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

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

.leaderboard-table th {
    background-color: rgba(0, 255, 255, 0.1);
    color: var(--accent-color);
    font-weight: bold;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table tr:nth-child(even) {
    background-color: rgba(26, 26, 26, 0.5);
}

.leaderboard-table tr:hover {
    background-color: rgba(0, 255, 255, 0.1);
}

/* Teams Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.team-card {
    background: linear-gradient(145deg, var(--secondary-color), #242424);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
    border-color: var(--accent-color);
}

.team-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-align: center;
}

.team-card p {
    margin: 8px 0;
}

.team-stats {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 8px;
    text-align: center;
    font-weight: bold;
    color: var(--accent-color);
}

.team-contact {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--accent-secondary);
    border-radius: var(--border-radius);
    padding: 8px;
    text-align: center;
    color: var(--text-color);
}

.team-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
}

.team-contact a:hover {
    text-decoration: underline;
}

.team-card ul {
    list-style: none;
    margin-top: 15px;
}

.team-card li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-card li::before {
    content: '▶';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Animation for long player names in modal only */
.modal-content li.long-name {
    position: relative;
    overflow: hidden;
}

.modal-content li.long-name::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(to left, var(--secondary-color), transparent);
    z-index: 1;
}

.modal-content li.long-name span {
    display: inline-block;
    animation: slideLeft 5s linear infinite;
    padding-right: 10px;
    background: transparent;
}

@keyframes slideLeft {
    0% {
        transform: translateX(50%);
    }
    100% {
        transform: translateX(-25%);
    }
}

/* For player grid in modal */
.player-item {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

.player-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15px;
    height: 100%;
    background: linear-gradient(to left, rgba(26, 26, 26, 0.7), transparent);
    z-index: 1;
    pointer-events: none;
}

.player-item span {
    display: inline-block;
    animation: slideLeft 6s linear infinite;
    padding-right: 10px;
}

/* Player Grid in Modal */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.player-item:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-secondary);
}

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

.team-detail-modal.active {
    display: flex;
}

.modal-content {
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 30px var(--glow-color);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent-color);
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
}

.team-detail-content {
    padding: 30px;
}

.team-detail-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.team-detail-stats {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--accent-color);
    margin: 10px 0;
}

.team-detail-contact {
    background: rgba(255, 0, 255, 0.1);
    border: 1px solid var(--accent-secondary);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    margin: 10px 0 20px 0;
}

.team-detail-contact h3 {
    margin: 0 0 10px 0;
}

.team-detail-contact p {
    margin: 0;
}

/* WhatsApp Button */
.wa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.wa-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128C7E, #25D366);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.wa-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.wa-button:hover::before {
    opacity: 1;
}

.wa-button:active {
    transform: translateY(0);
}

.wa-button i {
    margin-right: 8px;
    font-size: 1rem;
}

.players-list {
    margin-top: 20px;
}

.players-list h3 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

/* Match Details */
.match-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.match-details p {
    margin: 5px 0;
    color: var(--text-secondary);
}

.match-winner {
    background: rgba(0, 255, 0, 0.1);
    border-left: 3px solid var(--success-color);
    padding-left: 10px;
}

/* Notes Section */
.notes-section {
    margin-top: 30px;
    padding: 20px;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
}

.notes-section h3 {
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 15px;
    text-align: center;
}

.notes-section ul {
    list-style: none;
    padding: 0;
}

.notes-section li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.notes-section li:last-child {
    border-bottom: none;
}

.notes-section li::before {
    content: '▶';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 8px;
}

.notes-section .sub-list {
    margin: 10px 0 10px 20px;
    padding-left: 15px;
    border-left: 1px solid rgba(0, 255, 255, 0.3);
}

.notes-section .sub-list li {
    color: var(--text-color);
    border-bottom: none;
    padding-top: 5px;
    padding-bottom: 5px;
}

.notes-section .sub-list li::before {
    content: '•';
    color: var(--accent-secondary);
}

/* Match Images */
.match-images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

/* Specific responsive styles for completed matches in schedule */
#completed-tab .team-info {
    position: relative;
    overflow: hidden;
    max-width: 100px; /* Smaller max-width for schedule view */
    min-height: 1.5em; /* Ensure space for text */
}

#completed-tab .team-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 5px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

/* Specific responsive styles for completed matches in results section */
.results-grid .team-info {
    position: relative;
    overflow: hidden;
    max-width: 100px; /* Smaller max-width for results view */
    min-height: 1.5em; /* Ensure space for text */
}

.results-grid .team-info h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 5px;
    white-space: nowrap;
    position: relative;
    display: inline-block;
}

/* Style for sliding animation */
.team-info h3.sliding-text {
    animation: slideText 6s linear infinite;
    padding-right: 100%; /* Very wide padding to ensure full text visibility */
}

/* Responsive team names in mobile view for completed matches */
@media (max-width: 768px) {
    #completed-tab .team-info h3 {
        font-size: 1rem;
        max-width: 80px; /* Even smaller for mobile */
    }
    
    .results-grid .team-info h3 {
        font-size: 1rem;
        max-width: 80px; /* Even smaller for mobile */
    }
    
    #completed-tab .team-info,
    .results-grid .team-info {
        max-width: 80px; /* Even smaller for mobile */
    }
    
    #completed-tab .team-info h3.sliding-text,
    .results-grid .team-info h3.sliding-text {
        animation: slideTextMobile 5s linear infinite; /* Faster animation for smaller width */
        padding-right: 100%; /* Very wide padding to ensure full text visibility */
    }
    
    @keyframes slideTextMobile {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(-100%);
        }
    }
}

.match-images img {
    max-width: 100px;
    height: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.match-images img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--warning-color);
}

/* View Result Button */
.view-result-btn {
    display: block;
    margin: 10px auto;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px var(--glow-color);
    transition: var(--transition);
}

.view-result-btn:hover {
    background-color: var(--warning-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--warning-color);
    transform: translateY(-2px);
}

.view-result-btn:active {
    transform: translateY(0);
}

/* Image Modal Popup */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--secondary-color);
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    box-shadow: 0 0 30px var(--glow-color);
    top: 50%;
    transform: translateY(-50%);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from { top: -100%; opacity: 0; }
    to { top: 50%; opacity: 1; }
}

.modal-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 0 10px var(--glow-color);
}

.close-modal {
    color: var(--accent-color);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--warning-color);
    transform: scale(1.1);
    text-shadow: 0 0 10px var(--warning-color);
}

.image-modal-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 70vh;
    padding: 10px;
}

.image-modal-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px var(--glow-color);
    transition: transform 0.3s ease;
}

.image-modal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--warning-color);
}

/* Match Image Grid */
.match-image-grid {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for better centering */
    justify-content: center; /* Align items to the center */
    align-items: center; /* Center items vertically */
    gap: 25px;
    margin: 15px 0;
    padding: 15px;
    background: rgba(26, 26, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 255, 0.3);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overflow-x: auto; /* Enable horizontal scrolling when needed */
    max-width: 100%;
    text-align: center;
}

.image-thumb-container {
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    padding: 10px;
}

.image-thumbnail {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
    transition: all 0.2s ease-in-out;
    display: block;
}

.image-label {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.image-thumb-container {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.image-thumb-container:hover {
    transform: scale(1.05);
}

.image-thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--glow-color);
    transition: all 0.2s ease-in-out;
}

.image-thumbnail:hover {
    border-color: var(--warning-color);
    box-shadow: 0 0 15px var(--warning-color);
    transform: scale(1.05);
}

/* Image Preview Overlay */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    backdrop-filter: blur(5px);
}

.image-preview-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.preview-title {
    color: var(--accent-color);
    margin: 15px 0 10px 0;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px var(--glow-color);
}

.large-preview-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 25px var(--glow-color);
}

.preview-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 2rem;
    color: var(--accent-color);
    background: rgba(26, 26, 26, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.preview-close:hover {
    color: var(--warning-color);
    transform: scale(1.1);
    box-shadow: 0 0 10px var(--warning-color);
}

/* Animation for loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* No images message */
.no-matches-message {
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
    padding: 30px;
    font-style: italic;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.no-images-message {
    color: var(--text-secondary);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

/* Loading message */
.loading-message {
    color: var(--text-color);
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.match-result-actions {
    text-align: center;
    margin: 10px 0;
}

/* Footer - Copyright */
.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copyright p {
    margin: 0;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--secondary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 15px;
        display: block;
    }
    
    .logo h1 {
        font-size: 1.8rem; /* Make the logo smaller but keep the icon */
    }
    
    .logo h1 i {
        display: inline-block;
    }
    
    .logo h1 span {
        display: none; /* Hide the text part of the logo */
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .vs {
        transform: rotate(90deg);
    }
    
    .team {
        justify-content: center;
    }
    
    .team-left,
    .team-right {
        justify-content: center;
    }
    
    /* Leaderboard table mobile optimization */
    .leaderboard-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    /* Adjust font sizes for smaller screens */
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    /* Team cards adjustments */
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    /* Match card adjustments */
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    /* Modal adjustments */
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    /* Stats adjustments */
    .team-stats, 
    .team-contact {
        font-size: 0.9rem;
        padding: 6px;
    }
    
    /* Match details adjustments */
    .match-header {
        flex-direction: column;
        gap: 10px;
    }
}

/* For very small screens, show only the gamepad icon */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo h1 span {
        display: none;
    }
}

/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .tab-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .match-status {
        font-size: 0.7rem;
    }
    
    .team-score {
        font-size: 1.5rem;
    }
    
    .team-info {
        position: relative;
        overflow: hidden;
        max-width: 100px; /* Smaller max-width for mobile */
        min-height: 1.5em; /* Ensure space for text */
    }

    .team-info h3 {
        font-size: 1.2rem;
        white-space: nowrap;
        position: relative;
        display: inline-block;
    }
    
    .team-info h3.sliding-text {
        animation: slideTextMobile 5s linear infinite;
        padding-right: 100%; /* Very wide padding to ensure full text visibility */
    }
    
    .vs {
        font-size: 1.2rem;
    }
    
    /* Adjust team cards for very small screens */
    .team-card {
        padding: 15px;
    }
    
    /* Adjust modal for very small screens */
    .team-detail-content {
        padding: 20px;
    }
}

/* Heartbeat Animation */
@keyframes heartbeat {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px red, 0 0 10px red;
    }
    14% {
        transform: scale(1.1);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.15);
        text-shadow: 0 0 10px red, 0 0 20px red;
    }
    70% {
        transform: scale(1);
    }
}

/* Zoom In/Out Animation */
@keyframes zoomInOut {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.heartbeat {
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

.zoom-in-out {
    animation: zoomInOut 3s ease-in-out infinite;
    display: inline-block;
}

/* Permanent Alert in Bottom Right Corner */
.permanent-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid #ff0000;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: heartbeat 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.permanent-alert:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-icon {
    color: #ff0000;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
}

.alert-text {
    color: #ff0000;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.7);
}

/* Chart View */
.results-grid.chart-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.chart-message {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Local Time Display */
.local-time-display {
    position: fixed;
    bottom: 70px; /* Position above the permanent alert */
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #00ffff;
    padding: 10px 15px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border: 1px solid #00ffff;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.local-time-display:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.local-time-display:active {
    transform: scale(0.98);
}

/* Results Graph Container */
.results-graph-container {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.results-graph-container h3 {
    color: var(--accent-color);
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--glow-color);
}

/* Game Ended Popup */
.game-ended-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.9) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000; /* Higher z-index than fireworks */
    backdrop-filter: blur(5px);
}

.game-ended-content {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 3px solid #00ffff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.5), 0 0 60px rgba(255, 0, 255, 0.3);
    animation: popupAppear 0.5s ease-out;
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 20%);
}

@keyframes popupAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.game-ended-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    animation: textGlow 2s infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.7);
    }
    to {
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.9), 0 0 30px rgba(0, 255, 255, 0.6);
    }
}

.game-ended-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffcc00;
    font-size: 1.8rem;
    margin: 15px 0;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
    animation: congratsGlow 2s infinite alternate;
}

@keyframes congratsGlow {
    from {
        text-shadow: 0 0 10px rgba(255, 204, 0, 0.7);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 204, 0, 0.9), 0 0 30px rgba(255, 204, 0, 0.6);
    }
}

.game-ended-content p {
    font-size: 1.2rem;
    margin: 15px 0;
    color: #ffffff;
    line-height: 1.6;
}

.thanks-message {
    color: #ff00ff;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 20px 0;
    animation: thanksPulse 2s infinite;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
}

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

.close-popup-btn {
    background: linear-gradient(135deg, #ffcc00, #ff66cc);
    color: #0a0a0a;
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    transition: all 0.3s ease;
    margin-top: 20px;
    font-size: 1rem;
}

.close-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.8);
}

/* Winners Section */
.winners-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
    position: relative;
    z-index: 2; /* Ensure content is above fireworks */
}

.winner-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.champion-card {
    border: 2px solid #00ffff;
}

.runnerup-card {
    border: 2px solid #ff00ff;
}

.place-label {
    font-size: 1.2rem;
    color: #00ffff;
    font-weight: bold;
}

.champion-card .place-label {
    color: #00ffff;
}

.runnerup-card .place-label {
    color: #ff00ff;
}

.team-name {
    font-size: 1.5rem;
    color: #ffcc00;
    font-weight: bold;
    margin: 10px 0;
}

.champion-card .team-name {
    color: #ffcc00;
}

.runnerup-card .team-name {
    color: #ff66cc;
}

.title {
    color: #ffcc00;
}

.champion-card .title {
    color: #ffcc00;
}

.runnerup-card .title {
    color: #ff66cc;
}

/* Popup Fireworks Container */
.popup-fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    pointer-events: none;
    overflow: hidden;
    z-index: 1; /* Behind the content */
}

.popup-firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
}

.popup-firework-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    pointer-events: none;
}

/* Mobile Responsive for Game Ended Popup */
@media (max-width: 768px) {
    .game-ended-content {
        padding: 20px;
        max-width: 95%;
        margin: 10px;
    }
    
    .game-ended-content h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .congrats-text {
        font-size: 1.4rem;
    }
    
    .game-ended-content p {
        font-size: 1rem;
        margin: 10px 0;
    }
    
    .thanks-message {
        font-size: 1.2rem;
        margin: 15px 0;
    }
    
    .close-popup-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
    
    /* Responsive layout for winner/runner-up cards */
    .winners-section {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .winner-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 5px 0 !important;
    }
}

/* Additional responsive styles for smaller mobile devices */
@media (max-width: 480px) {
    .game-ended-content {
        padding: 15px;
    }
    
    .game-ended-content h2 {
        font-size: 1.4rem;
    }
    
    .congrats-text {
        font-size: 1.3rem;
    }
    
    .winner-card {
        padding: 12px;
    }
    
    .place-label {
        font-size: 1rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .title {
        font-size: 0.9rem;
    }
}

.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998; /* Lower z-index than popup */
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
}

.firework-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
}

.close-popup-btn {
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    color: #0a0a0a;
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: bold;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    margin-top: 20px;
    font-size: 1rem;
}

.close-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}

.close-popup-btn:active {
    transform: translateY(0);
}