/* IPL Betting ID Page Styles - Matching Original Design */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
    color: #000 !important;
    border-color: #ffd700;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.5);
    color: #000 !important;
}

.btn-outline {
    background: transparent;
    color: #ffd700;
    border-color: #ffd700;
}

.btn-outline:hover {
    background: rgba(255, 215, 0, 0.1);
}

/* Force black text on CTA-style buttons used on this page */
.cta-button,
.cta-button:visited {
    color: #000 !important;
}

.cta-button:hover,
.cta-button:active,
.cta-button:focus {
    color: #000 !important;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    color: #fff;
    padding: 4rem 0;
}

/* Desktop-only tweak */
@media (min-width: 992px) {
    .hero {
        padding-bottom: 2rem;
    }
}

.hero-title {
    /* Responsive, without conflicting breakpoints */
    font-size: clamp(2.1rem, 4.2vw, 3.4rem) !important;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    width: 100%;
    padding: 0px;
    color: #fff;
}

.hero-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.bannerblocktext {
    max-width: 100% !important;
}

.hero-text {
    flex: 1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    text-align: left;
    color: #ccc;
}

.hero-description strong {
    color: #ffd700;
}

.hero-image {
    flex: 0 0 460px;
    max-width: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    margin: 2rem 0;
    text-align: left;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.9rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    justify-content: center;
    white-space: nowrap;
}

.feature-badge span {
    font-size: 0.9rem;
}

.feature-badge .icon {
    font-size: 1.2rem;
}

.feature-badge div {
    color: #fff;
    font-size: 0.9rem;
}

.feature-badge p {
    margin: 0;
}

/* Section Styles */
section {
    padding: 4rem 0 2rem 0;
}

/* Desktop: increase section bottom padding */
@media (min-width: 992px) {
    section {
        padding-bottom: 2rem;
    }
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffd700;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Section */
.why-section {
    background: #0a0a0a;
}

/* Desktop only: extra bottom spacing for why-section */
@media (min-width: 992px) {
    .why-section {
        padding-bottom: 4rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #333;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
}

/* Best Choice Section */
.best-choice-section {
    background: #151515;
}

/* Desktop only: extra bottom spacing for best-choice-section */
@media (min-width: 992px) {
    .best-choice-section {
        padding-bottom: 4rem;
    }
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.choice-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    border: 1px solid #333;
}

.choice-item:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.choice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.choice-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #ffd700;
}

.choice-item p {
    color: #ccc;
    line-height: 1.6;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* How To Section */
.how-to-section {
    background: #0a0a0a;
}

/* Desktop only: extra bottom spacing for how-to-section */
@media (min-width: 992px) {
    .how-to-section {
        padding-bottom: 4rem;
    }
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 2px solid #ffd700;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 30px;
    background: #ffd700;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
}

/* Fix duplicate 1/2/3: keep centered CSS-counter badge, hide left badge */
.how-to-section .step-number {
    display: none !important;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    color: #fff;
}

.step-list {
    list-style: none;
    margin-bottom: 1rem;
    padding: 0;
}

.step-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #ccc;
}

.step-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.step-note {
    padding: 0;
    border-radius: 5px;
    margin: 1rem 0 0;
    font-size: 1.1rem !important;
    color: #ccc;
}

.step-card p {
    margin-top: 1rem;
    opacity: 0.95;
}

/* Bonuses Section */
.bonuses-section {
    color: #fff;
    background: #0a0a0a;
}

/* Markets Section */
.markets-section {
    background: #0a0a0a;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-items: center;
}

.market-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    border: 2px solid #ffd700;
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.market-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.market-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.market-card p {
    opacity: 0.95;
    line-height: 1.6;
    color: #ccc;
}

/* CTA Section */
.cta-section {
    color: #fff;
    text-align: center;
    padding: 4rem 0;
    background: #0a0a0a;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #ccc;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    margin: 0;
}

/* FAQ Section */
.faq-section {
    background: #0a0a0a;
    padding: 4rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #1a1a1a;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: #ffd700;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.faq-question {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffd700;
    padding: 1.5rem;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 0;
    border-bottom: 2px solid #ffd700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    background: linear-gradient(135deg, #2d2d2d 0%, #3a3a3a 100%);
}

.faq-question div {
    flex: 1;
    color: #ffd700;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 1rem;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(255, 215, 0, 0.2);
}

.faq-answer {
    padding: 0 1.5rem;
    color: #ccc;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #ccc;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Guide Section */
.guide-content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 30px;
}

.guide-item {
    border-radius: 10px;
    text-align: left;
    color: #ccc;
}

.guide-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.guide-item p {
    color: #ccc;
    line-height: 1.8;
    font-size: 1.1rem !important;
}

.guide-item strong {
    color: #ffd700;
}

.strategy-list {
    margin-top: 2.25rem; /* more gap from above text */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

/* Gap between the cards and the paragraph after them */
.strategy-list + p {
    margin-top: 2rem;
}

.strategy-item {
    background: #141414;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid #ffd700;
    text-align: left;
}

/* Desktop: more spacing only for these 3 market cards */
@media (min-width: 992px) {
    .strategy-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
    }

    .strategy-item {
        margin-bottom: 0;
    }
}

.strategy-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.strategy-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.strategy-item p {
    color: #ccc;
    margin: 0;
}

.guide-item ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.guide-item li {
    margin-bottom: 0.5rem;
    color: #ccc;
}

/* Keep CTA section centered (guide-item is left-aligned by default) */
.cta-section .guide-item,
.cta-section .guide-item p {
    text-align: center;
}

/* Links (scope to page content; avoid overriding header/nav styles) */
.hero a,
.guide-item a,
.faq-section a,
.final-cta-section a,
.cta-section a {
    color: #ffd700;
}

.hero a:hover,
.guide-item a:hover,
.faq-section a:hover,
.final-cta-section a:hover,
.cta-section a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem !important;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .choice-grid,
    .markets-grid {
        grid-template-columns: 1fr;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        color: #fff !important;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        /* Smaller than 768px; fixes “mobile gets bigger” bug */
        font-size: 1.65rem !important;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 2rem 0 1.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .choice-item,
    .market-card,
    .step-card {
        padding: 1.5rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        text-align: center;
    }
}