/* Enhanced Hero Section with Slider */
.hero-section {
    padding: 5rem 0;
    color: white;
    border-radius: 0 0 60px 60px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%);
    z-index: 2;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.trust-badge-enhanced {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.trust-badge-enhanced:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.trust-icon {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Enhanced Stats Cards */
.stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
    border-left: 4px solid;
}

.stats-card-primary {
    border-left-color: #667eea;
}

.stats-card-success {
    border-left-color: #10b981;
}

.stats-card-info {
    border-left-color: #3b82f6;
}

.stats-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stats-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.stats-card-primary .stats-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-card-success .stats-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stats-card-info .stats-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
}

.stats-label {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Enhanced Category Cards */
.category-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    display: block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    height: 100%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    text-decoration: none;
    color: inherit;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.3s;
}

.category-card:hover .category-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-name {
    color: #1f2937;
    font-weight: 600;
    margin-top: 1rem;
}

/* When category has background image, make text white */
.category-card[style*="background-image"] .category-name {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-card[style*="background-image"] .category-count {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.category-count {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

/* Enhanced Product Cards */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #9ca3af;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.product-card-body {
    padding: 1.5rem;
}

.product-title {
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 48px;
}

.product-game {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Enhanced Section Titles */
.section-title {
    font-size: 2rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Enhanced How It Works */
.how-it-works-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
}

.step-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.step-title {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Enhanced CTA Section */
.cta-section {
    margin-top: 3rem;
}

.cta-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    padding: 4rem 2rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Tablet and Mobile Medium (<1025px) */
@media (max-width: 1024.98px) {
    .hero-section {
        padding: 3rem 0;
        border-radius: 0 0 40px 40px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1.1rem !important;
        line-height: 1.6;
    }

    .display-3 {
        font-size: 2.25rem !important;
    }

    .lead {
        font-size: 1.1rem !important;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-title-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .stats-card {
        padding: 1.5rem;
        gap: 1rem;
    }

    .stats-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .stats-number {
        font-size: 2rem;
    }

    .stats-label {
        font-size: 0.9rem;
    }

    .category-card {
        padding: 1.5rem 1rem;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .category-name {
        font-size: 0.95rem;
    }

    .category-count {
        font-size: 0.8rem;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-card-body {
        padding: 1.25rem;
    }

    .product-title {
        font-size: 0.95rem;
        min-height: auto;
    }

    .product-price {
        font-size: 1.25rem;
    }

    .how-it-works-section {
        padding: 3rem 1.5rem;
        border-radius: 25px;
    }

    .step-card {
        padding: 1.5rem;
    }

    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.85rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
        border-radius: 25px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .trust-badge-enhanced {
        padding: 15px;
    }

    .trust-icon i {
        font-size: 2.5rem !important;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Mobile (<768px) */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 2.5rem 0;
        border-radius: 0 0 30px 30px;
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 1.5rem !important;
    }

    .display-3 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .lead {
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section-title-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .stats-card {
        padding: 1.25rem;
        gap: 0.75rem;
        flex-direction: column;
        text-align: center;
    }

    .stats-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .stats-number {
        font-size: 1.75rem;
    }

    .stats-label {
        font-size: 0.85rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .category-name {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }

    .category-count {
        font-size: 0.75rem;
    }

    .product-image-wrapper {
        height: 180px;
    }

    .product-card-body {
        padding: 1rem;
    }

    .product-title {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .product-game {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .how-it-works-section {
        padding: 2rem 1rem;
        border-radius: 20px;
    }

    .step-card {
        padding: 1.25rem;
        margin-top: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        top: -15px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
        margin: 0.75rem auto;
    }

    .step-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .step-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .cta-card {
        padding: 2.5rem 1.25rem;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .trust-badge-enhanced {
        padding: 12px;
    }

    .trust-icon i {
        font-size: 2rem !important;
    }

    .trust-badge-enhanced h6 {
        font-size: 0.9rem;
    }

    .trust-badge-enhanced small {
        font-size: 0.75rem;
    }

    .btn-lg {
        padding: 0.625rem 1.25rem;
        font-size: 0.95rem;
    }

    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
}

/* Small Mobile (<321px) - Extra Small Phones */
@media (max-width: 320.98px) {
    .hero-section {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
        min-height: 400px;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-bottom: 0.75rem !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 1rem !important;
    }

    .display-3 {
        font-size: 1.5rem !important;
        line-height: 1.2;
        margin-bottom: 1rem !important;
    }

    .lead {
        font-size: 0.9rem !important;
        line-height: 1.5;
        margin-bottom: 1rem !important;
    }

    .section-title {
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .section-title-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .stats-card {
        padding: 1rem;
        gap: 0.5rem;
    }

    .stats-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .stats-number {
        font-size: 1.5rem;
    }

    .stats-label {
        font-size: 0.8rem;
    }

    .category-card {
        padding: 1rem 0.5rem;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .category-name {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    .category-count {
        font-size: 0.7rem;
    }

    .product-image-wrapper {
        height: 150px;
    }

    .product-card-body {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 0.85rem;
        line-height: 1.3;
        min-height: auto;
    }

    .product-game {
        font-size: 0.75rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-footer .btn {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .how-it-works-section {
        padding: 1.5rem 0.75rem;
        border-radius: 15px;
    }

    .step-card {
        padding: 1rem;
        margin-top: 0.75rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -12px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin: 0.5rem auto;
    }

    .step-title {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .step-description {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .cta-card {
        padding: 2rem 1rem;
        border-radius: 15px;
    }

    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }

    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem !important;
    }

    .trust-badge-enhanced {
        padding: 10px;
    }

    .trust-icon i {
        font-size: 1.75rem !important;
    }

    .trust-badge-enhanced h6 {
        font-size: 0.85rem;
    }

    .trust-badge-enhanced small {
        font-size: 0.7rem;
    }

    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .d-flex.gap-3 {
        gap: 0.5rem !important;
    }

    .d-flex.gap-3.flex-wrap {
        flex-direction: column;
    }

    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-3 {
        margin-bottom: 0.75rem !important;
    }

    .mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .mt-4 {
        margin-top: 1rem !important;
    }

    .row.g-3,
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    /* Adjust button spacing */
    .d-flex.gap-3 {
        gap: 0.5rem !important;
    }

    .d-flex.gap-3.flex-wrap .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Adjust trust badges on small screens */
    .trust-badge-enhanced {
        margin-bottom: 0.5rem;
    }

    .text-center {
        text-align: center !important;
    }

    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        hyphens: auto;
    }

    p, span, small {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}