/* Tashan Win Casino - Home Page Specific CSS */

/* AOS (Animate On Scroll) Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS Animation Classes */
.aos-fade {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.aos-fade-left {
    opacity: 0;
    animation: slideInLeft 1s ease-out forwards;
}

.aos-fade-right {
    opacity: 0;
    animation: slideInRight 1s ease-out forwards;
}

.aos-fade-up {
    opacity: 0;
    animation: slideInUp 1s ease-out forwards;
}

.aos-fade-down {
    opacity: 0;
    animation: slideInDown 1s ease-out forwards;
}

/* AOS Animation Delays */
.aos-delay-100 { animation-delay: 0.1s; }
.aos-delay-200 { animation-delay: 0.2s; }
.aos-delay-300 { animation-delay: 0.3s; }
.aos-delay-400 { animation-delay: 0.4s; }
.aos-delay-500 { animation-delay: 0.5s; }
.aos-delay-600 { animation-delay: 0.6s; }
.aos-delay-700 { animation-delay: 0.7s; }
.aos-delay-800 { animation-delay: 0.8s; }

/* AOS Animation Durations */
.aos-duration-500 { animation-duration: 0.5s; }
.aos-duration-600 { animation-duration: 0.6s; }
.aos-duration-700 { animation-duration: 0.7s; }
.aos-duration-800 { animation-duration: 0.8s; }
.aos-duration-900 { animation-duration: 0.9s; }
.aos-duration-1000 { animation-duration: 1s; }

/* Intersection Observer Animation Classes */
.aos-animate {
    opacity: 1;
}

/* Enhanced AOS animations with easing */
.aos-fade,
.aos-fade-left,
.aos-fade-right,
.aos-fade-up,
.aos-fade-down {
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* Responsive AOS adjustments */
@media (max-width: 768px) {
    .aos-fade-left,
    .aos-fade-right {
        animation: slideInUp 0.8s ease-out forwards;
    }
    
    .aos-delay-400,
    .aos-delay-500,
    .aos-delay-600,
    .aos-delay-700 {
        animation-delay: 0.2s;
    }
}

@media (max-width: 480px) {
    .aos-fade-left,
    .aos-fade-right {
        animation: slideInUp 0.6s ease-out forwards;
    }
    
    .aos-delay-300,
    .aos-delay-400,
    .aos-delay-500,
    .aos-delay-600,
    .aos-delay-700 {
        animation-delay: 0.1s;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    .aos-fade,
    .aos-fade-left,
    .aos-fade-right,
    .aos-fade-up,
    .aos-fade-down {
        animation: fadeIn 0.3s ease-out forwards;
        animation-delay: 0s !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  
    opacity: 0.1;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: var(--font-size-5xl);
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gray-200);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05);
}

/* Registration Steps Section */
.registration-steps {
    background: var(--gray-100);
    /* padding: var(--spacing-3xl) 0; */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.step-card {
    background: var(--white);
    padding: var(--spacing-sm);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-2xl);
    font-weight: bold;
    margin: 0 auto var(--spacing-lg);
}

.step-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.step-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    display: block;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Games Section */
.games-section {
    background: var(--gray-100);
    padding: var(--spacing-3xl) 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

.game-category {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.game-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.game-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.game-category p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* App Screenshots Section */
.app-screenshots {
    background: var(--white);
    padding: var(--spacing-3xl) 0;
}

.screenshots-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: var(--spacing-lg) 0;
}

.screenshots-row img {
    width: 200px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    flex-shrink: 0;
}

.screenshots-row img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.cta-section .section-title {
    color: var(--white);
}

.cta-section .section-description {
    color: var(--gray-200);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-2xl);
}

.cta-section .btn {
    border-color: var(--white);
}

.cta-section .btn:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Responsive Design for Home Page */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .screenshots-row {
        gap: var(--spacing-md);
        padding: var(--spacing-md) 0;
    }
    
    .screenshots-row img {
        width: 150px;
        height: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card,
    .feature-card,
    .game-category {
        padding: var(--spacing-xl);
    }
}

@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .screenshots-row {
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
    }
    
    .screenshots-row img {
        width: 120px;
        height: 240px;
    }
    
    .step-card,
    .feature-card,
    .game-category {
        padding: var(--spacing-lg);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
}

/* Enhanced hover effects for animated elements */
.step-card:hover,
.feature-card:hover,
.game-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Enhanced button animations */
.btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* Enhanced image hover effects */
.hero-image img:hover,
.screenshots-row img:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Smooth scrolling for better animation experience */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Account for fixed header */
}

/* Enhanced focus states for accessibility */
.step-card:focus-within,
.feature-card:focus-within,
.game-category:focus-within {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    transform: translateY(-5px);
}

/* Animation for step cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    animation: fadeInUp 0.6s ease-out;
}

.step-card:nth-child(1) { animation-delay: 0.1s; }
.step-card:nth-child(2) { animation-delay: 0.2s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(4) { animation-delay: 0.4s; }

/* Hover effects for interactive elements */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Focus states for accessibility */
.step-card:focus-within,
.feature-card:focus-within,
.game-category:focus-within {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* FAQ Section Styles - Combined Design from Tashan Game & Tiranga Game Registration */
.faq-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.faq-section .section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0;
    max-width: 100%;
}

.faq-category {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    margin-bottom: 0;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 0;
    background: var(--white);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background: var(--gray-50);
}

.faq-question {
    width: 100%;
    padding: 30px 0;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: all 0.3s ease;
    position: relative;
    margin: 0;
    line-height: 1.5;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question-link {
    color: inherit;
    transition: all 0.3s ease;

    width: 100%;
}

.faq-question-link:hover {
    color: var(--primary-color);

}

.faq-question-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.faq-answer {
    max-height: none;
    overflow: visible;
    transition: none;
    background: transparent;
    padding: 0 0 30px 0;
}

.faq-answer.active {
    max-height: none;
    padding: 0 0 30px 0;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 1.1rem;
    padding-left: 0;
}

.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.faq-cta {
    text-align: center;
    margin-top: 80px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: var(--gray-800);
}

.faq-cta p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 500;
    color: var(--gray-700);
}

.faq-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-cta-buttons .btn {
    min-width: 220px;
    padding: 18px 35px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.faq-cta-buttons .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(22, 97, 14, 0.3);
}

.faq-cta-buttons .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 97, 14, 0.4);
}

.faq-cta-buttons .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(22, 97, 14, 0.1);
}

.faq-cta-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(22, 97, 14, 0.3);
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .container {
        padding: 0 15px;
    }
    
    .faq-section .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .faq-section .section-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .faq-question {
        padding: 25px 0;
        font-size: 1.1rem;
    }
    
    .faq-answer {
        padding: 0 0 25px 0;
    }
    
    .faq-answer.active {
        padding: 0 0 25px 0;
    }
    
    .faq-answer p {
        font-size: 1rem;
    }
    
    .faq-cta {
        margin-top: 60px;
    }
    
    .faq-cta p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .faq-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .faq-cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        min-width: auto;
        padding: 16px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-section .section-title {
        font-size: 1.8rem;
    }
    
    .faq-section .section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 20px 0;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 0 20px 0;
    }
    
    .faq-answer.active {
        padding: 0 0 20px 0;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
    
    .faq-cta {
        margin-top: 40px;
    }
    
    .faq-cta p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .faq-cta-buttons .btn {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
}

/* Print styles for home page */
@media print {
    .hero-section {
        background: var(--white) !important;
        color: var(--black) !important;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .step-card,
    .feature-card,
    .game-category {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
    
    .faq-section {
        background: var(--white) !important;
    }
    
    .faq-section::before {
        display: none;
    }
    
    .faq-category {
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 15px !important;
    }
} 