/**
 * Game Hero Section Styles
 *
 * @package HCgameZ
 * @since 1.3.0
 */

/* Hero Section Container */
.hcz-game-hero {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: -20px -20px 40px -20px;
    padding: 50px 20px;
}

@media (min-width: 992px) {
    .hcz-game-hero {
        margin: -40px -40px 40px -40px;
        padding: 60px 40px;
        min-height: 500px;
    }
}

/* Overlay - Dark Gray */
.hcz-hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(160deg,
            rgba(17, 24, 39, 0.97) 0%,
            rgba(31, 41, 55, 0.95) 30%,
            rgba(55, 65, 81, 0.92) 60%,
            rgba(31, 41, 55, 0.95) 100%) !important;
    backdrop-filter: blur(12px) !important;
    z-index: 2 !important;
}

/* Content Container */
.hcz-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.hcz-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

@media (min-width: 768px) {
    .hcz-hero-grid {
        grid-template-columns: 350px 1fr;
        gap: 40px;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hcz-hero-grid {
        grid-template-columns: 400px 1fr;
        gap: 50px;
    }
}

@media (min-width: 1200px) {
    .hcz-hero-grid {
        grid-template-columns: 450px 1fr;
        gap: 60px;
    }
}

/* Thumbnail */
.hcz-hero-thumbnail {
    display: flex;
    justify-content: center;
}

.hcz-game-cover {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.hcz-game-cover:hover {
    transform: translateY(-8px) scale(1.02);
}

/* Hero Info */
.hcz-hero-info {
    color: #fff;
}

.hcz-game-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #fff !important;
}

@media (min-width: 768px) {
    .hcz-game-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .hcz-game-title {
        font-size: 2.6rem;
    }
}

.hcz-game-developer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #9ca3af;
    margin-bottom: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

/* Meta Grid */
.hcz-game-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.hcz-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(55, 65, 81, 0.6);
    padding: 12px 20px;
    border-radius: 12px;
    min-width: 90px;
    transition: all 0.3s ease;
}

.hcz-meta-item:hover {
    transform: translateY(-4px);
    background: rgba(75, 85, 99, 0.7);
}

.hcz-meta-icon {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.hcz-meta-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.hcz-meta-label {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
}

/* Categories */
.hcz-game-categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.hcz-category-tag {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hcz-category-tag:hover {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
    transform: translateY(-2px);
}

/* Download Section */
.hcz-download-section {
    margin-top: 25px;
}

.hcz-download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Download Button */
.hcz-btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
}

.hcz-btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Report Button - Red with Text */
.hcz-btn-report {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hcz-btn-report:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-3px);
    color: #f87171;
}

/* Countdown Container */
.hcz-countdown-container,
.hcz-report-countdown {
    background: rgba(31, 41, 55, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hcz-countdown-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #d1d5db;
}

.hcz-countdown-icon {
    font-size: 1.4rem;
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.hcz-countdown-progress {
    height: 10px;
    background: rgba(55, 65, 81, 0.8);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hcz-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981 0%, #06b6d4 50%, #10b981 100%);
    background-size: 200% 100%;
    border-radius: 5px;
    transition: width 1s linear;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.hcz-countdown-timer {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.hcz-timer-number {
    font-size: 3rem;
    font-weight: 800;
    color: #10b981;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.hcz-timer-label {
    font-size: 1rem;
    color: #9ca3af;
}

.hcz-countdown-tip {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #d1d5db;
    padding: 10px 20px;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 8px;
    display: inline-block;
}

/* Final Download */
.hcz-final-download {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.hcz-download-ready {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #10b981;
}

.hcz-btn-final-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.hcz-btn-final-download:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.6);
}

.hcz-no-download {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.1);
    padding: 15px 25px;
    border-radius: 12px;
    font-size: 1rem;
    color: #fbbf24;
}

/* Report Modal */
.hcz-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hcz-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.hcz-modal-content {
    position: relative;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hcz-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hcz-modal-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
}

.hcz-modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.hcz-modal-close:hover {
    color: #fff;
}

.hcz-modal-body {
    padding: 25px;
}

/* Form Styles */
.hcz-form-group {
    margin-bottom: 20px;
}

.hcz-form-group label {
    display: block;
    color: #d1d5db;
    font-weight: 600;
    margin-bottom: 10px;
}

/* SELECT - White background, black text */
.hcz-select {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #1f2937;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231f2937' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.hcz-select:hover {
    border-color: #10b981;
}

.hcz-select:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hcz-select option {
    background: #fff;
    color: #1f2937;
}

.hcz-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    resize: vertical;
}

.hcz-form-group textarea:focus {
    outline: none;
    border-color: #10b981;
}

.hcz-form-actions {
    margin-top: 25px;
}

.hcz-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 14px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hcz-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.hcz-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Thank You Section */
.hcz-report-thankyou {
    text-align: center;
    padding: 30px 0;
}

.hcz-thankyou-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hcz-report-thankyou h4 {
    font-size: 1.5rem;
    color: #10b981;
    margin: 0 0 10px 0;
}

.hcz-report-thankyou p {
    color: #9ca3af;
    font-size: 1rem;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.hcz-thankyou-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hcz-btn-stay,
.hcz-btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hcz-btn-stay {
    background: rgba(55, 65, 81, 0.8);
    color: #d1d5db;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hcz-btn-stay:hover {
    background: rgba(75, 85, 99, 0.9);
    color: #fff;
    transform: translateY(-2px);
}

.hcz-btn-home {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
}

.hcz-btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
    .hcz-game-hero {
        min-height: auto;
        padding: 30px 20px;
    }

    .hcz-hero-thumbnail {
        order: 1;
    }

    .hcz-game-cover {
        max-width: 300px;
    }

    .hcz-hero-info {
        order: 2;
        text-align: center;
    }

    .hcz-game-developer {
        justify-content: center;
    }

    .hcz-game-meta-grid {
        justify-content: center;
    }

    .hcz-game-categories {
        justify-content: center;
    }

    .hcz-download-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hcz-thankyou-buttons {
        flex-direction: column;
    }
}

.hcz-icon {
    font-style: normal;
}