/* Homepage Specific Styles */

.section-spacing {
    padding: 80px 0;
}

/* Homepage Text Wrapping */
.hero-left h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.card-content h3 {
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-info h3 {
    overflow-wrap: break-word;
    word-break: break-word;
}

.news-info p {
    overflow-wrap: break-word;
    word-break: break-word;
}

.bg-secondary {
    background-color: var(--bg-card);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, rgba(245, 166, 35, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(69, 162, 158, 0.1) 0%, transparent 50%);
    padding: 100px 0 80px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    animation: slideUpLeft 0.8s ease-out;
}

.hero-left h1 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #FFF, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-right {
    animation: slideUpRight 0.8s ease-out;
}

.hero-card {
    background: rgba(31, 40, 51, 0.8);
    border-radius: 16px;
    padding: 40px 20px;
    border: 1px solid rgba(245, 166, 35, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    text-align: center;
}

.hero-logo {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
}

/* Ad Banner Section */
.ad-banner-section {
    padding: 40px 0;
    background: rgba(31, 40, 51, 0.5);
}

.ad-banner {
    /* background: rgba(31, 40, 51, 0.9); */
    border-radius: 16px;
    /* padding: 20px; */
    /* border: 1px solid rgba(245, 166, 35, 0.2); */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ad-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.ad-image {
    width: 100%;
    /* height: 120px; */
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@keyframes slideUpLeft {
    from {
        opacity: 0;
        transform: translateX(-30px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes slideUpRight {
    from {
        opacity: 0;
        transform: translateX(30px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-section {
        padding: 80px 0 60px;
    }
}

/* Feature Games */
.feature-games h2,
.latest-news h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.feature-games h2::after,
.latest-news h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(31, 40, 51, 0.7);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
    backdrop-filter: blur(5px);
}

.game-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.15);
}

.card-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Latest News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: #111418;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(69, 162, 158, 0.3);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--primary);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.news-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-info h3 a {
    color: var(--text-light);
}

.news-info h3 a:hover {
    color: var(--primary);
}

.news-info p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* Why Choose Us Section */
.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.why-choose h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(11, 12, 16, 0.7);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(102, 252, 241, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(245, 166, 35, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Testimonials Section */
.testimonials h2,
.trust-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.testimonials h2::after,
.trust-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(11, 12, 16, 0.7);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(102, 252, 241, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-content p {
    font-size: 1rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2.5rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Trust & Security Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.trust-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(31, 40, 51, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(102, 252, 241, 0.1);
    transition: var(--transition);
}

.trust-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.trust-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.trust-item p {
    font-size: 0.95rem;
    color: var(--text-main);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(69, 162, 158, 0.1));
}

.cta-wrapper {
    text-align: center;
    background: rgba(31, 40, 51, 0.9);
    padding: 50px 30px;
    border-radius: 16px;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.cta-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FFF, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-main);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .testimonials h2,
    .trust-section h2,
    .cta-wrapper h2 {
        font-size: 2rem;
    }
}