/* ========================================
   eFootball Generator - Modern CSS
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.generator-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.5;
}

/* Container */
.generator-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px 16px;
}

/* Header */
.generator-header {
    text-align: center;
    padding: 20px 0 30px;
}

.back-btn {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.back-btn:hover {
    opacity: 1;
}

.generator-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: block;
    margin: 0 auto 16px;
}

.generator-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 6px;
}

.generator-header p {
    color: #6b7280;
    font-size: 14px;
}

/* Steps */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a24;
    border: 2px solid #2a2a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #6b7280;
}

.step-dot.active {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-color: #00d4ff;
    color: #fff;
}

.step-dot.completed {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #2a2a3a;
}

.step-line.active,
.step-line.completed {
    background: #00d4ff;
}

/* Generator Step */
.generator-step {
    display: none;
}

.generator-step.active {
    display: block;
}

/* Card */
.generator-card {
    background: #12121a;
    border: 1px solid #2a2a3a;
    border-radius: 16px;
    padding: 28px 24px;
}

.generator-card h2 {
    text-align: center;
    font-size: 20px;
    color: #00d4ff;
    margin-bottom: 24px;
    font-weight: 600;
}

/* Form */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
    margin-bottom: 8px;
}

.label-icon {
    margin-right: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a24;
    border: 1px solid #2a2a3a;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #00d4ff;
}

.form-group input::placeholder {
    color: #4b5563;
}

.form-group small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 6px;
}

.form-group select option {
    background: #1a1a24;
    color: #fff;
}

/* Platform */
.platform-selector {
    display: flex;
    gap: 12px;
}

.platform-option {
    flex: 1;
}

.platform-option input {
    display: none;
}

.platform-card {
    background: #1a1a24;
    border: 2px solid #2a2a3a;
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.platform-card:hover {
    border-color: #3a3a4a;
}

.platform-option input:checked + .platform-card {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
}

.platform-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    color: #00d4ff;
}

.platform-card span {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

/* Button */
.generate-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.generate-btn:active {
    transform: translateY(0);
}

/* Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #10b981;
}

/* Processing */
.processing-animation {
    text-align: center;
    padding: 20px 0;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 3px solid #2a2a3a;
    border-top-color: #00d4ff;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-log {
    background: #1a1a24;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
    max-height: 180px;
    overflow-y: auto;
}

.log-item {
    padding: 8px 0;
    color: #9ca3af;
    font-size: 13px;
    border-bottom: 1px solid #2a2a3a;
}

.log-item:last-child {
    border-bottom: none;
}

/* Progress */
.progress-bar {
    height: 28px;
    background: #1a1a24;
    border-radius: 14px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    width: 0;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #00d4ff;
}

/* reCAPTCHA */
.recaptcha-box {
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}

.recaptcha-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.recaptcha-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.recaptcha-text {
    color: #1f2937;
    font-size: 14px;
}

.recaptcha-logo {
    text-align: center;
}

.recaptcha-logo img {
    width: 36px;
    height: 36px;
}

.recaptcha-logo small {
    display: block;
    color: #6b7280;
    font-size: 10px;
}

/* Verification */
.verification-result {
    text-align: center;
    padding: 24px 0;
}

.result-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.verification-result h3 {
    font-size: 20px;
    color: #ef4444;
    margin-bottom: 12px;
}

.verification-result p {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.verify-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s;
}

.verify-btn:hover {
    transform: translateY(-2px);
}

.verify-note {
    color: #6b7280;
    font-size: 12px;
    margin-top: 12px;
}

/* Stats */
.live-stats,
.recent-activity {
    background: #12121a;
    border: 1px solid #2a2a3a;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.live-stats h3,
.recent-activity h3 {
    text-align: center;
    font-size: 16px;
    color: #00d4ff;
    margin-bottom: 16px;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-box {
    background: #1a1a24;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 4px;
}

.stat-label {
    color: #6b7280;
    font-size: 11px;
}

/* Activity */
.activity-feed {
    max-height: 200px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #1a1a24;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.activity-user {
    font-weight: 500;
    color: #e5e7eb;
}

.activity-action {
    color: #10b981;
}

.activity-time {
    color: #6b7280;
    font-size: 11px;
}

/* Pulse Animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}


/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .generator-container {
        padding: 16px 14px;
    }
    
    .generator-header h1 {
        font-size: 22px;
    }
    
    .generator-logo {
        width: 64px;
        height: 64px;
    }
    
    .step-dot {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
    
    .step-line {
        width: 32px;
    }
    
    .generator-card {
        padding: 24px 20px;
    }
    
    .generator-card h2 {
        font-size: 18px;
    }
    
    .platform-selector {
        flex-direction: column;
    }
    
    .platform-card {
        padding: 16px;
    }
    
    .platform-icon {
        width: 40px;
        height: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat-box {
        padding: 12px 8px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .activity-item {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .activity-time {
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .generator-container {
        padding: 12px 12px;
    }
    
    .generator-header {
        padding: 16px 0 24px;
    }
    
    .generator-header h1 {
        font-size: 20px;
    }
    
    .generator-header p {
        font-size: 13px;
    }
    
    .generator-logo {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
    
    .back-btn {
        font-size: 13px;
    }
    
    .step-indicator {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .step-dot {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .step-line {
        width: 24px;
    }
    
    .generator-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    
    .generator-card h2 {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
        border-radius: 8px;
    }
    
    .platform-card {
        padding: 14px 12px;
        border-radius: 10px;
    }
    
    .platform-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
    
    .platform-card span {
        font-size: 13px;
    }
    
    .generate-btn {
        padding: 14px;
        font-size: 15px;
        border-radius: 10px;
    }
    
    .security-badges {
        gap: 6px;
    }
    
    .badge {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .spinner {
        width: 50px;
        height: 50px;
    }
    
    .processing-log {
        padding: 12px;
        max-height: 150px;
    }
    
    .log-item {
        font-size: 12px;
        padding: 6px 0;
    }
    
    .progress-bar {
        height: 24px;
        border-radius: 12px;
    }
    
    .progress-text {
        font-size: 16px;
    }
    
    .recaptcha-box {
        padding: 14px;
        flex-direction: column;
        gap: 12px;
    }
    
    .recaptcha-checkbox input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }
    
    .recaptcha-text {
        font-size: 13px;
    }
    
    .result-icon {
        font-size: 40px;
    }
    
    .verification-result h3 {
        font-size: 18px;
    }
    
    .verification-result p {
        font-size: 13px;
    }
    
    .verify-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .live-stats,
    .recent-activity {
        padding: 16px;
        border-radius: 14px;
        margin-top: 16px;
    }
    
    .live-stats h3,
    .recent-activity h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .stats-grid {
        gap: 6px;
    }
    
    .stat-box {
        padding: 10px 6px;
        border-radius: 8px;
    }
    
    .stat-value {
        font-size: 14px;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .activity-item {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 6px;
    }
}

/* Extra Small */
@media (max-width: 360px) {
    .generator-container {
        padding: 10px 10px;
    }
    
    .generator-header h1 {
        font-size: 18px;
    }
    
    .generator-logo {
        width: 48px;
        height: 48px;
    }
    
    .step-dot {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .step-line {
        width: 18px;
    }
    
    .generator-card {
        padding: 16px 14px;
    }
    
    .generator-card h2 {
        font-size: 16px;
    }
    
    .stat-value {
        font-size: 13px;
    }
    
    .stat-label {
        font-size: 8px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #1a1a24;
}

::-webkit-scrollbar-thumb {
    background: #3a3a4a;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00d4ff;
}
