/* 首页专用样式 */

/* 英雄区域增强样式 - 区块1 */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.15) 0%, rgba(0, 168, 89, 0.1) 100%);
    padding: 3rem 0;
    margin: 1.5rem 0;
    border-radius: 24px;
    border: 2px solid rgba(255, 223, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 151, 57, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 223, 0, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: #e9ecef;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* 区块2 - 横幅统计区域 */
section.bg-primary {
    background: linear-gradient(180deg, #009739 0%, #006B2D 100%) !important;
    border-top: 3px solid #FFDF00;
    border-bottom: 3px solid #FFDF00;
    box-shadow: 0 4px 20px rgba(0, 151, 57, 0.4);
    position: relative;
}

section.bg-primary p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

/* 区块3 - Fornecedores/RTP区域 - 不同视觉样式 */
section.container.py-5:first-of-type {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 16px;
    padding: 3rem 1.5rem !important;
    margin: 2rem auto;
    border: 1px solid rgba(0, 151, 57, 0.1);
}

section.container.py-5:first-of-type h2 {
    color: #009739;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #FFDF00;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

section.container.py-5:first-of-type h3 {
    font-weight: 700;
    color: #0a1a0f;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 游戏卡片区域 - 区块4 - 独特样式 */
section.container.py-5:first-of-type .row.mt-3 {
    margin-top: 3rem !important;
}

section.container.py-5:first-of-type .card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 2px solid rgba(0, 151, 57, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 151, 57, 0.15);
    overflow: hidden;
}

section.container.py-5:first-of-type .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 151, 57, 0.3);
    border-color: rgba(255, 223, 0, 0.5);
}

section.container.py-5:first-of-type .card-img-top {
    border-bottom: 3px solid #FFDF00;
    transition: transform 0.3s ease;
}

section.container.py-5:first-of-type .card:hover .card-img-top {
    transform: scale(1.05);
}

section.container.py-5:first-of-type .card-title {
    color: #009739;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 151, 57, 0.2);
    padding-bottom: 0.5rem;
}

section.container.py-5:first-of-type .card-body p {
    color: #4A5C4F;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* FAQ区域 - 区块5 - 强烈对比样式 */
section.py-5.bg-light {
    background: linear-gradient(180deg, #0a1a0f 0%, #1a2e1f 100%) !important;
    border-top: 5px solid #FFDF00;
    border-bottom: 5px solid #FFDF00;
    position: relative;
    margin: 3rem 0;
    padding: 4rem 0 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 151, 57, 0.1);
}

section.py-5.bg-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #FFDF00 10%, 
        #FFC72C 30%,
        #FFDF00 50%,
        #FFC72C 70%,
        #FFDF00 90%,
        transparent 100%);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

section.py-5.bg-light::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #009739, transparent, #009739);
}

section.py-5.bg-light h2 {
    color: #FFDF00;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    text-shadow: 0 2px 10px rgba(255, 223, 0, 0.5), 0 0 20px rgba(255, 223, 0, 0.3);
    position: relative;
    padding-bottom: 1rem;
    border-bottom: 3px solid rgba(255, 223, 0, 0.4);
}

section.py-5.bg-light .lead {
    color: #ffffff;
    text-align: center;
    font-style: normal;
    margin-bottom: 3rem;
    font-size: 1.15rem;
    font-weight: 500;
    opacity: 0.9;
}

section.py-5.bg-light .accordion-item {
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.35) 0%, rgba(0, 168, 89, 0.3) 100%);
    border: 2px solid rgba(255, 223, 0, 0.3);
    border-left: 5px solid #FFDF00;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 151, 57, 0.4), 0 0 0 1px rgba(255, 223, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

section.py-5.bg-light .accordion-item:hover {
    box-shadow: 0 6px 24px rgba(0, 151, 57, 0.6), 0 0 0 2px rgba(255, 223, 0, 0.5);
    border-color: #FFDF00;
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.45) 0%, rgba(0, 168, 89, 0.4) 100%);
}

section.py-5.bg-light .accordion-button {
    background: transparent;
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    position: relative;
}

section.py-5.bg-light .accordion-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #FFDF00;
    opacity: 1;
    transition: all 0.3s ease;
}

section.py-5.bg-light .accordion-button:hover::before {
    opacity: 1;
    width: 6px;
}

section.py-5.bg-light .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #009739 0%, #00A859 100%);
    color: #FFDF00;
    box-shadow: 0 4px 16px rgba(0, 151, 57, 0.4), inset 0 2px 8px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #FFDF00;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

section.py-5.bg-light .accordion-button:not(.collapsed)::before {
    opacity: 1;
}

section.py-5.bg-light .accordion-body {
    background: linear-gradient(135deg, rgba(0, 151, 57, 0.2) 0%, rgba(0, 168, 89, 0.15) 100%);
    border-top: 3px solid rgba(255, 223, 0, 0.3);
    color: #ffffff;
    line-height: 1.9;
    padding: 2rem 1.5rem;
    font-size: 1rem;
}

section.py-5.bg-light .accordion-body strong {
    color: #FFDF00;
    font-weight: 700;
}

section.py-5.bg-light .accordion-body p {
    color: #ffffff !important;
    opacity: 0.95;
}

section.py-5.bg-light .accordion-button strong {
    color: #ffffff;
}

section.py-5.bg-light .accordion-button:not(.collapsed) strong {
    color: #FFDF00;
}

section.py-5.bg-light .accordion-body p {
    margin-bottom: 1rem;
}

section.py-5.bg-light .accordion-body p:last-child {
    margin-bottom: 0;
}

/* FAQ区域响应式优化 */
@media (max-width: 768px) {
    section.py-5.bg-light {
        padding: 3rem 0 !important;
        margin: 2rem 0;
    }
    
    section.py-5.bg-light h2 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    section.py-5.bg-light .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    section.py-5.bg-light .accordion-body {
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
    }
}


/* 导航菜单当前页面高亮 */
.nav-menu a[href="index.html"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 151, 57, 0.4);
    transform: translateY(-2px);
    position: relative;
    overflow: hidden;
}

.nav-menu a[href="index.html"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 151, 57, 0.3), transparent);
    transition: left 0.6s ease;
}

.nav-menu a[href="index.html"]:hover::before {
    left: 100%;
}

/* 首页导航特殊样式 */
.nav-menu .nav-item:first-child .nav-link {
    position: relative;
}

.nav-menu .nav-item:first-child .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #009739;
    border-radius: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.1); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        text-align: center;
        margin: 0.5rem 0;
        border-radius: 15px;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section p {
        margin-bottom: 0.75rem;
    }
    
    .game-highlight {
        padding: 1.5rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .featured-games {
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .featured-games::before {
        border-radius: 17px;
    }
}

/* ========================================
   Informational Content Sections Styles
   E-E-A-T Optimized Content Blocks
   ======================================== */

/* Utility Classes */
.mb-4 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mt-3 { margin-top: 1rem; }
.lead { font-size: 1.25rem; font-weight: 300; line-height: 1.6; }

/* Column System for Content */
@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
}

/* Background Variations */
.bg-light {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 20px;
    margin: 1rem auto;
    padding: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

/* Text Color Utilities */
.text-success { color: #009739 !important; }
.text-danger { color: #DC143C !important; }
.text-primary { color: #00A859 !important; }

/* List Styles */
.list-unstyled {
    padding-left: 0;
    list-style: none;
    margin-left: 0;
    width: 100%;
}

.list-unstyled li {
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
    color: #e9ecef;
    text-align: left;
}

.list-unstyled li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #009739;
    font-weight: bold;
}

.text-danger + .list-unstyled li::before {
    content: '⚠';
    color: #ff4444;
}

/* Alert Boxes */
.alert {
    position: relative;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}

.alert-info {
    background: rgba(10, 26, 15, 0.8);
    border-color: rgba(0, 151, 57, 0.4);
    color: #e9ecef;
}

.alert-info h4 {
    color: #00A859;
    margin-bottom: 0.75rem;
}

.alert-warning {
    background: rgba(10, 26, 15, 0.8);
    border-color: rgba(255, 223, 0, 0.4);
    color: #e9ecef;
}

.alert-success {
    background: rgba(10, 26, 15, 0.8);
    border-color: rgba(0, 151, 57, 0.4);
    color: #e9ecef;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    color: #fff;
    border-collapse: collapse;
    background: rgba(42, 24, 16, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, #0a1a0f 0%, #1a2e1f 100%);
}

.table-primary {
    background: linear-gradient(135deg, #0a1a0f 0%, #1a2e1f 100%);
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid rgba(0, 151, 57, 0.4);
    color: #00A859;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e9ecef;
}

.table tbody tr:hover {
    background: rgba(0, 151, 57, 0.1);
    transition: background 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(10, 26, 15, 0.4);
}

.table-hover tbody tr:hover {
    background: rgba(0, 151, 57, 0.12);
}

.table-sm th,
.table-sm td {
    padding: 0.5rem;
    font-size: 0.875rem;
}

/* Card Styles */
.card {
    background: rgba(10, 26, 15, 0.8);
    border: 1px solid rgba(0, 151, 57, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 151, 57, 0.4);
    border-color: rgba(0, 151, 57, 0.6);
}

.card-img-top {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    border-bottom: 2px solid rgba(0, 151, 57, 0.4);
    transition: all 0.3s ease;
    display: block;
    border-radius: 12px 12px 0 0;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem;
}

.card:hover .card-img-top {
    filter: brightness(1.1);
}

.card-body {
    padding: 0.6rem;
    flex: 1;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #00A859;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body p {
    color: #e9ecef;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.card-body strong {
    color: #fff;
}

/* Accordion Styles for FAQ */
.accordion {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(10, 26, 15, 0.6);
    border: 1px solid rgba(0, 151, 57, 0.3);
    margin-bottom: 0.75rem;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 151, 57, 0.5);
    box-shadow: 0 4px 15px rgba(0, 151, 57, 0.3);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(10, 26, 15, 0.8) 0%, rgba(26, 46, 31, 0.6) 100%);
    border: none;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    user-select: none;
}

.accordion-button:focus {
    outline: 2px solid rgba(0, 151, 57, 0.6);
    outline-offset: 2px;
}

.accordion-button strong {
    color: #fff;
    font-weight: 600;
    flex: 1;
}

.accordion-button::after {
    content: '▼';
    font-size: 0.8rem;
    color: #00A859;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-button:hover {
    background: linear-gradient(135deg, rgba(10, 26, 15, 0.9) 0%, rgba(26, 46, 31, 0.8) 100%);
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(26, 46, 31, 0.8) 0%, rgba(10, 26, 15, 0.9) 100%);
    border-bottom: 2px solid rgba(0, 151, 57, 0.4);
}

.accordion-collapse {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.accordion-collapse.collapse {
    display: none !important;
    max-height: 0;
    overflow: hidden;
}

.accordion-collapse.collapse.show {
    display: block !important;
    max-height: 1000px;
    overflow: visible;
}

.accordion-body {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    color: #e9ecef;
    line-height: 1.8;
}

.accordion-body strong {
    color: #fff;
    font-weight: 600;
}

.accordion-body ul,
.accordion-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.accordion-body a {
    color: #00A859;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 151, 57, 0.4);
    transition: all 0.2s ease;
}

.accordion-body a:hover {
    color: #FFDF00;
    border-bottom-color: #FFDF00;
}

.accordion-body .table {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Code/Technical Text */
code {
    background: rgba(10, 26, 15, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #00A859;
    font-size: 0.9em;
    border: 1px solid rgba(0, 151, 57, 0.3);
}

/* Emphasis Text */
em {
    color: #f39c12;
    font-style: italic;
}

strong {
    font-weight: 600;
    color: #fff;
}

/* Section Spacing */
.container.py-5 {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.container.py-5 h2 {
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(0, 151, 57, 0.4);
    text-align: left;
}

.container.py-5 h3 {
    color: #00A859;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.container.py-5 h4 {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Ordered Lists in Content */
ol {
    color: #e9ecef;
    line-height: 1.8;
    padding-left: 0;
    margin-left: 0;
    width: 100%;
}

ol li {
    margin-bottom: 0.75rem;
    text-align: left;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem 0.5rem;
    }
    
    .table-responsive {
        border: 1px solid rgba(255, 140, 0, 0.3);
        border-radius: 8px;
    }
}

/* Responsive Cards */
@media (max-width: 768px) {
    .card-body {
        padding: 0.6rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .card-body p {
        margin-bottom: 0.25rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Responsive Accordion */
@media (max-width: 768px) {
    .accordion-button {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Highlight Boxes */
.alert strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.alert p:last-child {
    margin-bottom: 0;
}

/* Responsive Column Layout */
@media (max-width: 768px) {
    .col-md-6,
    .col-md-4 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .container.py-5 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Table in Accordion Special Styling */
.accordion-body .table {
    background: rgba(42, 24, 16, 0.8);
    border: 1px solid rgba(255, 140, 0, 0.3);
}

.accordion-body .table th {
    background: rgba(42, 24, 16, 0.9);
    font-size: 0.85rem;
    padding: 0.75rem 0.5rem;
}

.accordion-body .table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
}

/* Ordered List Numbers Styling */
.container.py-5 ol {
    counter-reset: item;
    padding-left: 0;
    margin-left: 0;
    list-style: none;
}

.container.py-5 ol li {
    counter-increment: item;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

.container.py-5 ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #009739 0%, #00A859 100%);
    color: #ffffff;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 151, 57, 0.4);
}

/* Nested Lists */
ul ul,
ol ul,
ul ol,
ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    padding-left: 2rem;
}

/* Accordion Body Lists */
.accordion-body ul {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    width: 100%;
}

.accordion-body ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    text-align: left;
}

.accordion-body ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #ff8c00;
    font-weight: bold;
    font-size: 1.2rem;
}

.accordion-body ol {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    counter-reset: item;
}

.accordion-body ol li {
    counter-increment: item;
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    text-align: left;
}

.accordion-body ol li::before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #ff8c00;
    font-weight: bold;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .container.py-5 h2 {
        font-size: 1.5rem;
    }
    
    .container.py-5 h3 {
        font-size: 1.25rem;
    }
    
    .container.py-5 h4 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Link Styles in Content */
.container.py-5 a:not(.btn) {
    color: #00A859;
    text-decoration: underline;
    text-decoration-color: rgba(0, 151, 57, 0.4);
    transition: all 0.2s ease;
}

.container.py-5 a:not(.btn):hover {
    color: #FFDF00;
    text-decoration-color: #FFDF00;
}

/* Paragraph Spacing in Content Sections */
.container.py-5 p {
    color: #e9ecef;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: left;
    width: 100%;
}

/* UL Lists in Content */
.container.py-5 ul {
    padding-left: 0;
    margin-left: 0;
    list-style: none;
    width: 100%;
}

.container.py-5 ul li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    text-align: left;
    color: #e9ecef;
}

.container.py-5 ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #009739;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Content Section Dividers */
.container.py-5:not(:last-of-type) {
    margin-bottom: 2rem;
}

/* Improved Readability for Long Content */
.container.py-5 .row {
    margin-left: 0;
    margin-right: 0;
}

.container.py-5 .col-12 {
    max-width: 100%;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.container.py-5 .col-md-6,
.container.py-5 .col-md-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Enhanced Focus States for Accessibility */
.accordion-button:focus,
.table:focus,
.card:focus {
    outline: 2px solid rgba(255, 140, 0, 0.6);
    outline-offset: 2px;
}

/* Print Styles for FAQ */
@media print {
    .accordion-collapse {
        display: block !important;
        max-height: none !important;
    }
    
    .accordion-button::after {
        display: none;
    }
    
    .bg-light {
        background: #fff !important;
        color: #000 !important;
    }
}

/* Fix for All Content Sections Alignment */
section.container.py-5,
section.container.py-5.bg-light {
    display: block;
    box-sizing: border-box;
}

/* Ensure Full Width for bg-light sections */
section.py-5.bg-light {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

section.py-5.bg-light .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Row Alignment Fix */
.row {
    width: 100%;
    box-sizing: border-box;
}

/* Column Padding Consistency */
[class*="col-"] {
    box-sizing: border-box;
}

/* H2/H3/H4 Alignment in Content */
.container.py-5 h2,
.container.py-5 h3,
.container.py-5 h4 {
    width: 100%;
    box-sizing: border-box;
}

/* Accordion Body Content Alignment */
.accordion-body {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.accordion-body p,
.accordion-body ul,
.accordion-body ol {
    width: 100%;
    box-sizing: border-box;
}

/* Table Cell Alignment */
.table th,
.table td {
    text-align: left;
    vertical-align: top;
}

/* Card Body Alignment */
.card-body {
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Optimization for Content Sections */
@media (max-width: 768px) {
    section.container.py-5 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .container.py-5 .col-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .list-unstyled li,
    .container.py-5 ul li,
    .container.py-5 ol li {
        padding-left: 2.5rem;
    }
    
    .accordion-body {
        padding: 1rem 0.75rem;
    }
    
    .table-responsive {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        border-radius: 8px;
        overflow-x: auto;
    }
    
    .table {
        min-width: 600px;
    }
    
    .bg-light {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Additional Alignment Fixes */
section.py-5 {
    width: 100%;
    box-sizing: border-box;
}

section.py-5 .container {
    box-sizing: border-box;
}

/* Ensure proper nesting */
.container .row .col-12 h2,
.container .row .col-12 h3,
.container .row .col-12 h4,
.container .row .col-12 p {
    margin-left: 0;
    margin-right: 0;
}

/* Code Block Alignment */
code {
    display: inline-block;
    margin: 0;
}

/* Strong Tag Consistency */
.container strong,
.accordion-body strong,
.alert strong,
.card-body strong {
    color: #fff;
}

/* Em Tag Consistency */
.container em,
.accordion-body em,
.alert em {
    color: #f39c12;
}

/* Section Padding Override for bg-light */
section.bg-light.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Ensure Container Centering */
.container {
    box-sizing: border-box;
}

/* Fix for specific content alignment issues */
.container.py-5 > .row > .col-12 > * {
    box-sizing: border-box;
}

/* Heading Margins */
h2.mb-4 {
    margin-bottom: 1.5rem !important;
}

h3.mt-4 {
    margin-top: 1.5rem !important;
}

h3.mt-5 {
    margin-top: 3rem !important;
}

h4.mt-3 {
    margin-top: 1rem !important;
}

/* Lead Text */
p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #e9ecef;
}

/* Fix Container in bg-light sections */
section.bg-light > .container {
    width: 100%;
    max-width: 1320px;
}

/* Accordion Button Text Wrapping */
.accordion-button {
    white-space: normal;
    word-wrap: break-word;
}

/* Table Responsive Wrapper */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* Ensure All Sections Have Proper Spacing */
section {
    width: 100%;
    box-sizing: border-box;
}

/* Content Hero Images */
.content-hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.3), 
                0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 140, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(42, 24, 16, 0.5);
    padding: 0.5rem;
    margin: 0 auto 2rem auto;
    display: block;
}

.content-hero-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 140, 0, 0.5), 
                0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 140, 0, 0.6);
}

/* Responsive Image Sizing */
@media (max-width: 768px) {
    .content-hero-img {
        max-width: 100%;
        border-radius: 12px;
        margin-bottom: 1.5rem;
        padding: 0.25rem;
    }
}

@media (max-width: 480px) {
    .content-hero-img {
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    }
}

/* Image Container Centering */
.col-12.text-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Lazy Loading Image Fade-in */
.content-hero-img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Card Image Top */
@media (max-width: 992px) {
    .card-img-top {
        min-height: 180px;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .card-img-top {
        min-height: 160px;
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .card-img-top {
        min-height: 140px;
        max-height: 200px;
    }
}

/* Center All Images */
img.content-hero-img,
img.card-img-top {
    margin-left: auto;
    margin-right: auto;
}

/* Smooth Scroll for Anchor Links */
html {
    scroll-behavior: smooth;
}

/* Section Spacing Between Content Blocks */
section.container.py-5 + section.py-5.bg-light,
section.py-5.bg-light + section.container.py-5 {
    margin-top: 2rem;
}

/* H3 in Columns */
.col-md-6 h3,
.col-md-4 h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* Better List Spacing in Columns */
.col-md-6 ul,
.col-md-4 ul {
    margin-bottom: 1.5rem;
}

/* Ensure Images Don't Overflow */
section img {
    max-width: 100%;
    height: auto;
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    .content-hero-img {
        max-width: 95%;
    }
    
    .col-12.text-center.mb-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Login Method Cards */
.login-method-card {
    background: rgba(42, 24, 16, 0.6);
    border: 2px solid rgba(255, 140, 0, 0.3);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.login-method-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 0, 0.6);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.4);
    background: rgba(42, 24, 16, 0.8);
}

.login-method-card.featured {
    border-color: rgba(255, 140, 0, 0.5);
    background: rgba(42, 24, 16, 0.8);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.35);
}

.login-method-card.featured:hover {
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.5);
}

.login-icon-wrapper {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ffa500;
    text-shadow: 0 4px 15px rgba(255, 140, 0, 0.6);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.login-method-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.login-method-card ol {
    text-align: left;
    flex: 1;
}

.login-method-card ol li {
    color: #e9ecef;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .login-method-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .login-icon-wrapper {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .login-method-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}