.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
}

.header-section {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-size: 2.5em;
    color: #f1f5f9;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.1em;
    color: #94a3b8;
}

.info-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    animation: slideInUp 0.6s ease-out;
}

.info-banner-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.info-banner h3 {
    font-size: 1.6em;
    color: #f1f5f9;
    margin-bottom: 10px;
}

.info-banner p {
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.info-banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-banner {
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1em;
}

.btn-banner-primary {
    background: white;
    color: #1e40af;
}

.btn-banner-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-banner-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-banner-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2em;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95em;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
    margin-top: 20px;
}

.action-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    border: 1px solid #3b82f6;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.action-card:hover::before {
    left: 100%;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.action-card.create {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border-color: #10b981;
}

.action-card.create:hover {
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.action-icon {
    font-size: 3em;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.action-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #f1f5f9;
    position: relative;
    z-index: 2;
}

.action-card p {
    color: #cbd5e1;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.lobbies-container {
    margin-bottom: 30px;
}

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

.section-title {
    font-size: 1.8em;
    color: #f1f5f9;
    font-weight: 700;
}

.lobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px,1fr));
    gap: 20px;
    position: relative;
}

.lobby-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.lobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    pointer-events: none;
}

.lobby-card:hover {
    border-color: #3b82f6;
    transform: scale(1.02);
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;

}

.lobby-card:hover .lock-overlay {
    opacity: 1;
}

.lobby-card.locked:hover::before {
    opacity: 1;
}

.lock-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.lock-text {
    color: #f1f5f9;
    font-weight: 600;
    font-size: 1.1em;
}

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

.lobby-name {
    font-size: 1.3em;
    font-weight: 700;
    color: #f1f5f9;
}

.lobby-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
}

.status-waiting {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    border: 1px solid #f59e0b;
}

.status-playing {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid #10b981;
}

.lobby-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #334155;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.info-label {
    color: #94a3b8;
    font-weight: 500;
}

.info-value {
    color: #e2e8f0;
    font-weight: 600;
}

.players-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.players-dots {
    display: flex;
    gap: 3px;
}

.player-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
}

.player-dot.empty {
    background: #334155;
}

.btn-join-lobby {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    margin-top: 15px;
}

.btn-join-lobby.user {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-join-lobby.user:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.btn-join-lobby .notuser {
    cursor: not-allowed;
    background: #475569;
    color: #94a3b8;
}