/* ========================================
   Penalty Shoot Out - Signal System
   ======================================== */

:root {
    --bg-dark: #0a0e1a;
    --bg-darker: #060913;
    --text-primary: #ffffff;
    --text-muted: #8b92a7;
    --purple-primary: #8b5cf6;
    --purple-secondary: #7c3aed;
    --green-primary: #5cb85c;
    --green-glow: rgba(92, 184, 92, 0.3);
    --orange-primary: #ff9800;
    --orange-glow: rgba(255, 152, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, var(--bg-darker) 0%, #0d1a1f 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

.penalty-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.penalty-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 10px 0;
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.penalty-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Main Card */
.penalty-card {
    background: var(--purple-primary);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
    margin-bottom: 30px;
}

/* Status Row */
.status-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.status-box {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.box-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.box-value {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.kicks-value {
    color: var(--green-primary);
    font-size: 1.1rem;
}

.valid-value {
    color: var(--orange-primary);
    font-size: 1.2rem;
}

/* Goal Section */
.goal-section {
    width: 100%;
    margin: 15px 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.goal-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Action Button */
.action-button {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    margin-top: 15px;
}

.wait-button {
    background: var(--green-primary);
    color: white;
    box-shadow: 0 4px 15px var(--green-glow);
}

.wait-button:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.bet-button {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.5);
    animation: pulse-green 2s ease-in-out infinite;
}

.bet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 255, 0, 0.8);
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 255, 0, 0.5);
    }
    50% {
        box-shadow: 0 6px 30px rgba(0, 255, 0, 0.8);
    }
}

/* Protection Button */
.protection-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.protection-button:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Platform Section */
.platform-section {
    margin-bottom: 30px;
}

.platform-button {
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 0, 0.3));
    border: 2px solid rgba(0, 255, 0, 0.5);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
}

.platform-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0, 255, 0, 0.4);
    border-color: rgba(0, 255, 0, 0.8);
}

.platform-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .penalty-container {
        padding: 15px;
    }

    .penalty-header h1 {
        font-size: 1.5rem;
    }

    .status-box {
        min-height: 80px;
        padding: 10px;
    }

    .goal-section {
        min-height: 150px;
    }

    .action-button {
        font-size: 1rem;
        padding: 15px;
    }

    .platform-button {
        font-size: 1.1rem;
        padding: 18px;
    }
}

