/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff4757;
    --secondary-color: #9d4edd;
    --dark-bg: #0f0f23;
    --card-bg: #1a1a2e;
    --text-color: #ffffff;
    --text-secondary: #b0b0c0;
    --border-color: #2a2a3e;
    --success-color: #0acf83;
    --warning-color: #ff9f43;
    --danger-color: #ff4757;
    --info-color: #2e86de;
    --cs2-color: #f1c40f;
    --fortnite-color: #9b59b6;
    --angelkacs-color: #ff6b8b;
    --bo1-color: #3498db;
    --bo3-color: #e74c3c;
    --map-winner: rgba(10, 207, 131, 0.2);
    --map-loser: rgba(255, 71, 87, 0.2);
    --map-draw: rgba(157, 78, 221, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Loading Screen */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-content {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--angelkacs-color);
}

.loading-logo i {
    font-size: 3rem;
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.loading-spinner {
    display: flex;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--angelkacs-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--angelkacs-color);
}

.logo i {
    font-size: 2rem;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.header-controls {
    display: flex;
    gap: 15px;
}

.refresh-btn, .reset-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    background: var(--secondary-color);
    color: white;
    border: 1px solid transparent;
}

.refresh-btn:hover, .reset-btn:hover {
    background: #8c3cd1;
    transform: scale(1.02);
}

.reset-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.reset-btn:hover {
    background: var(--border-color);
    color: white;
}

/* Filters Section */
.filters-section {
    padding: 25px 0;
    background: #1a1a2e;
    border-bottom: 1px solid var(--border-color);
}

.filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    align-items: start;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-label i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn, .format-btn, .status-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .format-btn:hover, .status-btn:hover {
    border-color: var(--secondary-color);
    color: white;
    background: rgba(157, 78, 221, 0.1);
}

.filter-btn.active, .format-btn.active, .status-btn.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.filter-btn[data-filter="cs2"].active {
    background: var(--cs2-color);
    border-color: var(--cs2-color);
    color: #000;
}

.filter-btn[data-filter="fortnite"].active {
    background: var(--fortnite-color);
    border-color: var(--fortnite-color);
}

.format-btn[data-format="bo1"].active {
    background: var(--bo1-color);
    border-color: var(--bo1-color);
}

.format-btn[data-format="bo3"].active {
    background: var(--bo3-color);
    border-color: var(--bo3-color);
}

/* Main Content */
.main-content {
    padding: 30px 0 60px;
}

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

.content-header h2 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--angelkacs-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tournament-counter {
    background: var(--card-bg);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.tournament-counter span {
    color: var(--angelkacs-color);
    font-weight: 700;
    font-size: 1.2rem;
}

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

.tournament-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    cursor: pointer;
}

.tournament-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.2);
    transform: translateY(-2px);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
}

.card-game {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 10px;
}

.card-game.cs2 {
    background: rgba(241, 196, 15, 0.1);
    color: var(--cs2-color);
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.card-game.fortnite {
    background: rgba(155, 89, 182, 0.1);
    color: var(--fortnite-color);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-upcoming {
    background: rgba(157, 78, 221, 0.1);
    color: var(--secondary-color);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.status-active {
    background: rgba(255, 71, 87, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.status-finished {
    background: rgba(10, 207, 131, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(10, 207, 131, 0.3);
}

.card-body {
    padding: 20px;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 600;
}

.card-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.matches-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.view-btn {
    padding: 8px 16px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.view-btn:hover {
    background: #8c3cd1;
    transform: scale(1.02);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.main-footer {
    padding: 30px 0;
    background: #0a0a1a;
    border-top: 1px solid var(--border-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--angelkacs-color);
}

.footer-logo i {
    font-size: 1.2rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    height: 85vh;
    background: var(--card-bg);
    border-radius: 12px;
    z-index: 1001;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
    background: var(--card-bg);
    z-index: 2;
}

.modal-title {
    flex: 1;
}

.modal-title h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.3;
}

.modal-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modal-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
    margin-left: 20px;
    flex-shrink: 0;
}

.modal-close:hover {
    color: var(--danger-color);
}

/* Modal Body */
.modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    display: block;
}

.no-matches {
    text-align: center;
    padding: 40px 20px;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.no-matches-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.no-matches h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.no-matches p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Matches List */
.matches-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    min-height: auto;
}

/* Custom scrollbar */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #8c3cd1;
}

.match-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.match-item:hover {
    border-color: var(--secondary-color);
}

.match-header {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.match-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.match-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-preview {
    padding: 20px;
}

.teams-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.team-preview {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.team-logo-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #ff6b8b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.team-angelkacs {
    background: linear-gradient(135deg, var(--angelkacs-color), #ff4757);
}

.team-name-large {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.match-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
}

.match-format {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.format-bo1 {
    background: rgba(52, 152, 219, 0.1);
    color: var(--bo1-color);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.format-bo3 {
    background: rgba(231, 76, 60, 0.1);
    color: var(--bo3-color);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.vs-text {
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

.match-score-container {
    text-align: center;
    margin: 15px 0;
}

.match-score-large {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, var(--angelkacs-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

/* Maps Section */
.maps-section {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.maps-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.maps-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.map-item.winner-team1 {
    background: var(--map-winner);
    border-color: rgba(10, 207, 131, 0.5);
}

.map-item.winner-team2 {
    background: var(--map-loser);
    border-color: rgba(255, 71, 87, 0.5);
}

.map-item.draw {
    background: var(--map-draw);
    border-color: rgba(157, 78, 221, 0.5);
}

.map-item:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.map-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-name i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.map-score {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, var(--angelkacs-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Players Section */
.toggle-players-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.toggle-players-btn:hover {
    border-color: var(--secondary-color);
    color: white;
    background: rgba(157, 78, 221, 0.1);
}

.toggle-players-btn.active {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(157, 78, 221, 0.1);
}

.players-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.players-section.expanded {
    max-height: 500px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.players-container {
    padding: 0;
}

.players-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.players-grid-cs2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.team-players-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-header {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.team-label {
    font-size: 1rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.team-label.team1 {
    background: rgba(157, 78, 221, 0.1);
    color: var(--secondary-color);
}

.team-label.team2 {
    background: rgba(255, 107, 139, 0.1);
    color: var(--angelkacs-color);
}

.players-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.player-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.player-card:hover {
    border-color: var(--secondary-color);
}

.player-card.angelkacs {
    background: rgba(255, 107, 139, 0.1);
    border-color: rgba(255, 107, 139, 0.3);
}

.player-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), #8c3cd1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.player-card.angelkacs .player-icon {
    background: linear-gradient(135deg, var(--angelkacs-color), #ff4757);
}

.player-name {
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
    word-break: break-word;
    line-height: 1.3;
}

.players-grid-fortnite {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.match-actions {
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.1);
}

.match-link-btn {
    width: 100%;
    padding: 12px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.match-link-btn:hover {
    background: #8c3cd1;
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .filter-group {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
    
    .filter-label {
        min-width: 120px;
    }
    
    .filter-buttons {
        flex: 1;
        justify-content: flex-end;
    }
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-controls {
        width: 100%;
        justify-content: center;
    }
    
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .filter-label {
        min-width: auto;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .modal {
        width: 95%;
        height: 90vh;
        max-width: 95%;
    }
    
    .teams-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .team-preview {
        width: 100%;
    }
    
    .match-middle {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .players-grid-cs2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .refresh-btn, .reset-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .tournament-counter {
        align-self: stretch;
        text-align: center;
    }
    
    .card-title-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-game {
        align-self: flex-start;
        margin-left: 0;
    }
    
    .modal-title h2 {
        font-size: 1.3rem;
    }
    
    .team-logo-large {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .team-name-large {
        font-size: 1rem;
    }
    
    .match-score-large {
        font-size: 2rem;
    }
}
