/* ===== Fifathon 2026 — Prediction Game Styles ===== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e27;
    color: #e0e0e0;
    min-height: 100vh;
}

.hero {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a4e 50%, #0d1b3e 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

.hero-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.logo {
    font-size: 60px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-size: 2.5em;
    background: linear-gradient(90deg, #00e5ff, #7c4dff, #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.2em;
    color: #90caf9;
    margin-bottom: 10px;
}

.desc {
    color: #78909c;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.logged-in {
    color: #90caf9;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.logged-in a {
    color: #ff4081;
    text-decoration: none;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.card h2 {
    color: #fff;
    margin-bottom: 8px;
}

.card h3 {
    color: #90caf9;
    margin-bottom: 15px;
}

/* Step indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    gap: 0;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #546e7a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.step.active {
    background: #7c4dff;
    color: #fff;
}

.step.done {
    background: #00e676;
    color: #fff;
}

.step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

/* Form */
.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #7c4dff;
}

.input-group input::placeholder {
    color: #546e7a;
}

.input-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2390caf9' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.input-group select:focus {
    border-color: #7c4dff;
}

.input-group select option {
    background: #1a1a4e;
    color: #fff;
    padding: 10px;
}

.profile-heading {
    color: #90caf9;
    font-size: 1em;
    margin: 20px 0 10px;
    text-align: left;
}

.step-done-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.skillpod-logo {
    display: block;
    margin: 0 auto 15px;
    height: 50px;
    width: auto;
}

.form-hint {
    color: #78909c;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.otp-sent-msg {
    color: #90caf9;
    margin-bottom: 15px;
    font-size: 0.95em;
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #7c4dff, #536dfe);
    color: #fff;
    width: 100%;
}

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: transparent;
    color: #90caf9;
    border: 1px solid rgba(144, 202, 249, 0.3);
    width: 100%;
}

.btn-secondary:hover {
    background: rgba(144, 202, 249, 0.1);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
    margin-top: 10px;
}

/* Messages */
.error-msg {
    color: #ff5252;
    font-size: 0.9em;
    margin-top: 10px;
    min-height: 20px;
}

.success-msg {
    color: #00e676;
    font-size: 0.9em;
    margin-top: 10px;
    min-height: 20px;
}

/* Deadline */
.deadline-notice {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    color: #ffb74d;
    font-size: 0.9em;
}

/* Match cards */
.match-card {
    text-align: left;
}

.match-header {
    font-size: 1.3em;
    font-weight: bold;
    color: #00e5ff;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.team-col {
    flex: 1;
    text-align: center;
}

.team-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 12px;
}

.vs-badge {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff4081;
    background: rgba(255, 64, 129, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.score-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score-input label {
    font-size: 0.8em;
    color: #78909c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-input input[type="number"] {
    width: 80px;
    padding: 10px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
    -moz-appearance: textfield;
}

.score-input input[type="number"]::-webkit-outer-spin-button,
.score-input input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.score-input input[type="number"]:focus {
    border-color: #7c4dff;
}

/* Winner selection */
.winner-select {
    text-align: center;
}

.winner-select > label {
    display: block;
    font-size: 1em;
    color: #90caf9;
    margin-bottom: 12px;
    font-weight: 600;
}

.radio-group {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.radio-card {
    flex: 1;
    max-width: 220px;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-label {
    display: block;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    color: #b0bec5;
    font-weight: 600;
    transition: all 0.3s;
}

.radio-card input[type="radio"]:checked + .radio-label {
    border-color: #00e676;
    background: rgba(0, 230, 118, 0.1);
    color: #00e676;
}

.radio-label:hover {
    border-color: rgba(124, 77, 255, 0.5);
    background: rgba(124, 77, 255, 0.05);
}

/* Success card */
.success-card {
    text-align: center;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.success-card h2 {
    color: #00e676;
}

/* Summary card */
.summary-card {
    text-align: left;
}

.summary-card h3 {
    text-align: center;
}

.summary-match {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
}

.summary-match h4 {
    color: #00e5ff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.summary-match p {
    font-size: 1.1em;
}

.winner-line {
    color: #ffb74d;
    margin-top: 5px;
}

/* Flag icons */
.flag-icon {
    vertical-align: middle;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    margin-right: 6px;
    image-rendering: -webkit-optimize-contrast;
}

.team-name .flag-icon {
    width: 40px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.radio-label .flag-icon {
    width: 24px;
    height: auto;
    margin-right: 4px;
    vertical-align: middle;
}

.summary-match p .flag-icon {
    width: 28px;
    height: auto;
    vertical-align: middle;
    margin: 0 4px;
}

/* Match date */
.match-date {
    text-align: center;
    color: #90caf9;
    font-size: 0.85em;
    margin-top: -12px;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(144, 202, 249, 0.08);
    border-radius: 8px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Expired card */
.expired-card {
    text-align: center;
}

.expired-card h2 {
    color: #ff5252;
}

/* Locked match card */
.match-card.locked {
    opacity: 0.6;
    pointer-events: none;
}

.match-card.locked .score-input input[type="number"],
.match-card.locked input[type="radio"] {
    pointer-events: none;
}

.match-locked-banner {
    background: rgba(255, 82, 82, 0.15);
    border: 1px solid rgba(255, 82, 82, 0.4);
    color: #ff8a80;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 500px) {
    h1 { font-size: 1.8em; }
    .match-teams { flex-direction: column; gap: 10px; }
    .vs-badge { width: 40px; height: 40px; font-size: 1em; }
    .radio-group { flex-direction: column; align-items: center; }
    .radio-card { max-width: 100%; }
    .card { padding: 20px; }
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 30px 20px 20px;
    font-size: 0.85em;
    color: #546e7a;
}

.site-footer a {
    color: #7c4dff;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}
