/* CSS Variables */
:root {
    --primary-color: #333;
    --secondary-color: #ff3333;
    --background-color: #f8f8f8;
    --logo-size-large: 200px;
    --logo-size-medium: 150px;
    --logo-size-small: 120px;
    --border-radius: 50%;
    --transition-speed: 0.3s;
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.note {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

/* Room Layout */
.rooms {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.room-card {
    text-align: center;
    -webkit-transition: transform var(--transition-speed) ease;
    -moz-transition: transform var(--transition-speed) ease;
    -o-transition: transform var(--transition-speed) ease;
    transition: transform var(--transition-speed) ease;
}

.room-card:hover {
    transform: translateY(-5px);
}

.room-link {
    text-decoration: none;
    color: var(--primary-color);
    display: block;
}

/* Logo Styles */
.logo {
    width: var(--logo-size-large);
    height: var(--logo-size-large);
    border-radius: var(--border-radius);
    margin: 0 auto 15px;
    position: relative;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: var(--box-shadow);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.logo::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: var(--border-radius);
    background: transparent;
    border: 5px solid rgba(255, 100, 100, 0.8);
    z-index: -1;
}

.room-name {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

/* Animation Effects */
.pulsate {
    -webkit-animation: pulsate 1s ease-in-out;
    -moz-animation: pulsate 1s ease-in-out;
    -o-animation: pulsate 1s ease-in-out;
    animation: pulsate 1s ease-in-out;
}

@-webkit-keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@-moz-keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@-o-keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulsate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.current-date {
    margin-top: 10px;
    font-weight: bold;
    color: var(--secondary-color);
}

.score-table tr.today {
    background-color: #ffe6e6 !important;
    font-weight: bold;
}

.fade-out {
    opacity: 0;
    -webkit-transition: opacity var(--transition-speed) ease;
    -moz-transition: opacity var(--transition-speed) ease;
    -o-transition: opacity var(--transition-speed) ease;
    transition: opacity var(--transition-speed) ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rooms {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        width: var(--logo-size-medium);
        height: var(--logo-size-medium);
    }
    
    h1 {
        font-size: 24px;
    }
    
    .note {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: var(--logo-size-small);
        height: var(--logo-size-small);
    }
    
    h1 {
        font-size: 20px;
    }
    
    .note {
        font-size: 14px;
    }
}