/* WATCH PAGE STYLES - Violence Theater */

.watch-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #000;
    min-height: 100vh;
}

/* Arena Header */
.arena-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    border: 3px solid #ff4444;
    background: #111;
    border-radius: 10px;
}

.arena-title {
    font-size: 2.5rem;
    color: #ff4444;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #ff4444;
}

.arena-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.viewer-count {
    color: #888;
    font-style: italic;
}

/* Arena Display */
.arena-display {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    margin-bottom: 30px;
    padding: 30px;
    background: #111;
    border: 2px solid #fff;
    border-radius: 10px;
    align-items: stretch; /* Make fighter sections same height */
}

.fighter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 250px; /* Ensure minimum height */
    justify-content: center; /* Center content vertically */
}

.fighter-portrait {
    text-align: center;
}

.fighter-avatar {
    font-size: 4rem;
    margin-bottom: 10px;
    user-select: none; /* Prevent text selection highlighting */
}

.fighter-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.fighter-team {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* Health Bars */
.health-bar-container {
    width: 100%;
    max-width: 300px;
}

.health-label {
    text-align: center;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.health-bar {
    position: relative;
    width: 100%;
    height: 30px;
    background: #333;
    border: 2px solid #fff;
    border-radius: 5px;
    overflow: hidden;
}

.health-fill {
    height: 100%;
    background: #00ff00;
    transition: width 0.5s ease, background-color 0.3s ease;
    position: relative;
}

.health-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    z-index: 2;
}

/* Arena Center */
.arena-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.vs-display {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    background: #ff4444;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.round-display {
    text-align: center;
}

.round-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.round-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffaa00;
}

.status-display {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    background: #333;
    border: 1px solid #fff;
    border-radius: 5px;
}

/* Commentary Section */
.commentary-section {
    background: #000;
    border: 2px solid #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.commentary-header {
    padding: 20px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.commentary-header h3 {
    color: #4A90E2;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.commentary-status {
    color: #888;
    font-style: italic;
}

.commentary-feed {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
}

.commentary-message {
    margin-bottom: 20px;
    padding: 15px;
    background: #1a1a1a;
    border-left: 3px solid #4A90E2;
    border-radius: 5px;
}

.action-only-message {
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #666;
    border-radius: 5px;
}

.action-only-message .action-text {
    color: #bbb;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0;
}

.initial-message {
    margin-bottom: 20px;
    padding: 15px;
    background: #1a1a1a;
    border-left: 3px solid #ffaa00;
    border-radius: 5px;
}

.action-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.announcer-comment {
    color: #ccc;
    font-style: italic;
    line-height: 1.3;
}

.announcer-name {
    color: #4A90E2;
    font-weight: bold;
    font-style: normal;
}

/* Watch Controls */
.watch-controls {
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.control-button {
    display: inline-block;
    padding: 15px 25px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.control-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 60px 20px;
}

.error-section h2 {
    color: #ff4444;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .arena-display {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .arena-center {
        order: -1;
    }
    
    .arena-title {
        font-size: 2rem;
    }
    
    .vs-display {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .commentary-feed {
        height: 250px;
    }
    
    .watch-controls {
        flex-direction: column;
        align-items: center;
    }
}

/* Special effects */
.flash-effect {
    animation: flash 0.2s ease-in-out;
}

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

.completion-message {
    border-left: 3px solid #ffaa00 !important;
    background: #1a1a0a !important;
}

.void-message {
    border-left: 3px solid #666 !important;
    background: #0f0f0f !important;
    opacity: 0.8;
}

.void-message .action-text {
    color: #999 !important;
}

.void-message .announcer-comment {
    color: #777 !important;
} 

/* Fighter Effects Indicators */
.fighter-effects {
    margin-top: 5px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.blessing-indicator {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: none;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.curse-indicator {
    background: linear-gradient(135deg, #8b0000, #ff4444);
    color: #fff;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(139, 0, 0, 0.3);
}

/* Betting Section */
.betting-section {
    background: #000;
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.betting-section h3 {
    color: #ffd700;
    text-align: center;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    font-size: 18px;
}

.betting-section h4 {
    color: #ffd700;
    text-align: center;
    margin: 20px 0 15px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.user-bet-status {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    text-align: center;
}

.user-bet-status strong {
    color: #ffd700;
}

.win-status {
    color: #00ff00;
    font-weight: bold;
}

.loss-status {
    color: #ff4444;
    font-weight: bold;
}

.betting-summary {
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
    margin-bottom: 15px;
    text-align: center;
}

.bet-count {
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.bet-stats-quick {
    color: #ccc;
    font-size: 14px;
}

.bet-stats-quick span {
    margin: 0 8px;
}

.detailed-bets {
    margin-top: 20px;
}

.bets-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #333;
    border-radius: 5px;
}

.bet-notification {
    border-bottom: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
    transition: background-color 0.2s ease;
}

.bet-notification:last-child {
    border-bottom: none;
}

.bet-notification:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bet-notification.user-bet {
    background: rgba(255, 215, 0, 0.08);
    border-left: 3px solid #ffd700;
}

.bet-notification.user-bet:hover {
    background: rgba(255, 215, 0, 0.12);
}

.bet-main-line {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bettor-name {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.bet-info {
    color: #ccc;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.win-badge {
    background: #00ff00;
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

.loss-badge {
    background: #ff4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
}

.effect-notification {
    padding: 6px 15px 6px 25px;
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-style: italic;
}

.effect-notification.blessing-notif {
    background: rgba(255, 215, 0, 0.05);
    color: #ffd700;
}

.effect-notification.curse-notif {
    background: rgba(255, 68, 68, 0.05);
    color: #ff6b6b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .betting-section {
        margin: 15px 10px;
        padding: 15px;
    }
    
    .bet-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .fighter-effects {
        flex-direction: column;
        gap: 4px;
    }
} 

/* Clapping system styles */
.fighter-avatar.clappable {
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none; /* Prevent text selection when rapidly clicking */
    animation: pulse-clap 1.5s ease-in-out infinite;
}

.fighter-avatar.clappable:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.fighter-avatar.clappable:active {
    transform: scale(0.95);
}

.fighter-avatar.clap-burst {
    animation: clap-burst 0.3s ease-out;
}

@keyframes pulse-clap {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    }
}

@keyframes clap-burst {
    0% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    }
    25% {
        transform: scale(1.3);
        filter: brightness(2) drop-shadow(0 0 25px rgba(255, 215, 0, 1)) drop-shadow(0 0 50px rgba(255, 255, 255, 0.5));
    }
    50% {
        transform: scale(1.4);
        filter: brightness(2.5) drop-shadow(0 0 30px rgba(255, 215, 0, 1)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.7));
    }
    75% {
        transform: scale(1.2);
        filter: brightness(1.8) drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
    }
}

.clap-notification {
    position: absolute;
    pointer-events: none;
    font-weight: bold;
    color: #ffd700;
    font-size: 18px;
    z-index: 1000;
    animation: clap-float 1s ease-out forwards;
}

@keyframes clap-float {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
} 