/* style.css - Site-wide vintage luxury style and animation styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Cinzel:wght@400;600&display=swap');

:root {
    --vintage-green: #20411C;
    --deep-green: #162A13;
    --accent-red: #B8322D;
    --golden-yellow: #E2B13C;
    --cream-white: #F3E6C6;
    --soft-gold: #FFD700;
    --dark-brown: #7A4F1D;
    --light-green: #4A7C59;
    --vintage-gradient: linear-gradient(135deg, #20411C 0%, #162A13 100%);
    --gold-gradient: linear-gradient(45deg, #FFD700 0%, #E2B13C 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: #1b3a1b url('assets/green-floral.png') repeat;
    color: #770c0c;
    scroll-behavior: smooth;
}
body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}
section {
    min-height: 100vh;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    box-shadow: 0 8px 48px 0 #000a inset;
}

/* Navigation bar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: linear-gradient(90deg, #204020 80%, #0d2605 100%);
    box-shadow: 0 4px 24px #000a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 80px;
    border-bottom: 3px solid #f4e71e;
    position: fixed;
    overflow: visible;
}
.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}
.navbar > * {
    position: relative;
    z-index: 1;
}
.navbar .logo {
    font-family: 'Cinzel', serif;
    font-size: 2.4rem;
    color: #ffe066;
    text-shadow: 0 0 24px #fff700, 0 2px 12px #b8860b;
    font-weight: bold;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: text-shadow 0.3s;
}
.navbar .logo .logo-text {
    color: #ffe066;
    text-shadow: 0 0 24px #fff700, 0 2px 12px #b8860b;
}
.navbar .logo:hover {
    text-shadow: 0 0 40px #fff700, 0 2px 24px #b8860b;
}
.navbar .logo:hover .logo-text {
    text-shadow: 0 0 40px #fff700, 0 2px 24px #b8860b;
}
.navbar .nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar .nav-menu li a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.navbar .nav-menu li a:hover {
    background: linear-gradient(90deg, #ffe066 60%, #b8860b 100%);
    color: #1b3a1b;
    box-shadow: 0 2px 8px #ffe06688;
}
.navbar .nav-policy {
    position: relative;
}
.navbar .nav-policy > a {
    color: #fff;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    background: #b22222;
    margin-left: 24px;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px #b2222288;
}
.navbar .nav-policy > a:hover {
    background: #e6b800;
    color: #1b3a1b;
}
.navbar .policy-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 48px;
    background: #2d4a2d;
    border: 2px solid #e6b800;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 8px 32px #000a;
    z-index: 10;
}
.navbar .nav-policy.open .policy-dropdown {
    display: block;
}
.policy-dropdown a {
    display: block;
    color: #fff;
    padding: 16px 24px;
    text-decoration: none;
    border-bottom: 1px solid #e6b80022;
    transition: background 0.2s, color 0.2s;
}
.policy-dropdown a:last-child { border-bottom: none; }
.policy-dropdown a:hover {
    background: #ffe066;
    color: #1b3a1b;
}

/* Mobile navigation menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: rgba(255, 224, 102, 0.1);
    border: 1px solid rgba(255, 224, 102, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 224, 102, 0.2);
    border-color: rgba(255, 224, 102, 0.5);
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #ffe066;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger menu animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu container */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #204020 0%, #1a3a1a 100%);
    z-index: 1000;
    padding: 80px 0 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.mobile-menu.active {
    right: 0;
}

/* Mobile menu content */
.mobile-menu-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.mobile-menu-logo {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 224, 102, 0.3);
}

.mobile-menu-logo a {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #ffe066;
    text-shadow: 0 0 20px #fff700;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(255, 224, 102, 0.2) 0%, rgba(184, 134, 11, 0.2) 100%);
    color: #ffe066;
    border-color: rgba(255, 224, 102, 0.3);
    transform: translateX(5px);
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #ffe066;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
    width: 4px;
}

/* Mobile Policy drop-down menu */
.mobile-policy-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 224, 102, 0.3);
}

.mobile-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffe066;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 20px;
    background: rgba(178, 34, 34, 0.8);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(178, 34, 34, 0.5);
    position: relative;
    overflow: hidden;
}

.mobile-policy-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.mobile-policy-header:hover::before {
    left: 100%;
}

.mobile-policy-toggle {
    font-size: 0.9rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-policy-section.open .mobile-policy-toggle {
    transform: rotate(180deg);
}

.mobile-policy-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(45, 74, 45, 0.9);
    border-radius: 0 0 8px 8px;
    margin-top: 2px;
    backdrop-filter: blur(10px);
}

.mobile-policy-section.open .mobile-policy-dropdown {
    max-height: 350px;
}

.mobile-policy-link {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 25px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 224, 102, 0.1);
    position: relative;
}

.mobile-policy-link:last-child {
    border-bottom: none;
}

.mobile-policy-link:hover,
.mobile-policy-link.active {
    background: rgba(255, 224, 102, 0.15);
    color: #ffe066;
    padding-left: 35px;
    border-left: 3px solid #ffe066;
    font-weight: 600;
}

.mobile-policy-link.active::before {
    content: '●';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffe066;
    font-size: 0.8rem;
}

/* Navigation bar mobile responsive breakpoint */
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
        height: 70px;
    }
    
    .navbar .nav-menu,
    .navbar .nav-policy {
        display: none;
    }
    
    .mobile-menu-btn,
    .mobile-menu-overlay,
    .mobile-menu {
        display: block;
    }
    
    .navbar .logo {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 0 15px;
        height: 60px;
    }
    
    .navbar .logo {
        font-size: 1.6rem;
    }
    
    .mobile-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-menu.active {
        right: 0;
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 55px;
        padding: 0 12px;
    }
    
    .navbar .logo {
        font-size: 1.4rem;
    }
    
    .mobile-menu-content {
        padding: 0 15px;
    }
    
    .mobile-nav-link {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mobile-policy-header {
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mobile-policy-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Banner */
.banner {
    width: 100vw;
    min-height: 80vh;
    background: linear-gradient(135deg, #1b3a1b 60%,#032d1b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
/* Ensure that the banner is not affected by pre-fade and fade-in-up */    transform: none !important;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1) !important;
}

/* Apply the effects of pre-fade and fade-in-up to the elements within the banner, rather than the banner itself */.pre-fade {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
}

/* Apply the effects of pre-fade and fade-in-up to the elements within the banner, rather than the banner itself */.pre-fade:not(.banner):not(#about-banner):not(#contact-banner):not(#policy-banner) {
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}

.fade-in-up {
  opacity: 1 !important;
}

/* Apply the effects of pre-fade and fade-in-up to the elements within the banner, rather than the banner itself */.fade-in-up:not(.banner):not(#about-banner):not(#contact-banner):not(#policy-banner) {
  transform: translateY(0) scale(1) !important;
}

.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.16;
    z-index: 0;
}
.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 100px;
}
.banner-title {
    font-family: 'Cinzel', serif;
    font-size: 3.2rem;
    color: #ffe066;
    text-shadow: 0 2px 16px #b8860b;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.banner-desc {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 32px;
    font-weight: 500;
    text-shadow: 0 1px 8px #1b3a1b;
}
.banner-img {
    width: 592px;
    height: 288px;
    margin: 0 auto 32px;
    border-radius: 18px;
    box-shadow: 0 8px 32px #000a, 0 2px 8px #e6b80088;
    background: #fff url('assets/rummy-banner.jpg') center/cover no-repeat;
    border: 4px solid #e6b800;
    position: relative;
    overflow: hidden;
}
.banner-btn {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #ffe066 0%, #b8860b 100%);
    border: none;
    border-radius: 32px;
    padding: 18px 48px;
    margin: 24px 0 0 0;
    box-shadow: 0 4px 16px #b8860b88;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.2s;
}
.banner-btn:hover {
    box-shadow: 0 8px 32px #ffe06688;
    filter: brightness(1.08);
}
.banner-btn:active {
    transform: scale(0.97);
}
.banner-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
}
.feature-block {
    background: linear-gradient(135deg, #1b3a1b 80%, #ffe066 120%);
    border: 2px solid #e6b800;
    border-radius: 18px;
    box-shadow: 0 4px 16px #000a;
    padding: 32px 24px;
    min-width: 220px;
    text-align: center;
    color: #ffe066;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.feature-block:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 32px #e6b80088;
    background: linear-gradient(135deg, #ffe066 60%, #1b3a1b 120%);
    color: #1b3a1b;
}

/* Apply the effects of pre-fade and fade-in-up to the elements within the banner, rather than the banner itself */
.excellent-section {
    width: 100vw;
    min-height: 70vh;
    background: radial-gradient(ellipse at 50% 0%, #ffe06644 0%, transparent 70%), 
                radial-gradient(ellipse at 50% 100%, #ffe06633 0%, transparent 70%), 
                linear-gradient(135deg, #B78D11 80%, #E2B13C 100%), 
                url('assets/textures/noise-lines.png') repeat, 
                url('assets/textures/nice-snow.png') repeat; 
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 110px 0 90px 0;
    overflow: hidden;
    animation: section-fade-in 1.2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 8px 48px 0 #000a inset;
}

@keyframes section-fade-in {
    0% { opacity: 0;}
    100% { opacity: 1;}
}

.excellent-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.29;
    pointer-events: none;
    z-index: 0;
}

.excellent-vintage-frame {
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    padding: 20px;
}

/* Gorgeous title decoration */
.excellent-ornate-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.ornate-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    flex: 1;
    position: relative;
}

.ornate-line::before {
    content: '';
    position: absolute;
    top: -8px;
    bottom: -8px;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
}

.ornate-line.left::after {
    content: '❧';
    position: absolute;
    right: 10px;
    top: -12px;
    color: #FFD700;
    font-size: 1.5rem;
}

.ornate-line.right::after {
    content: '☙';
    position: absolute;
    left: 10px;
    top: -12px;
    color: #FFD700;
    font-size: 1.5rem;
}

.excellent-title-wrapper {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.ornate-flourish {
    color: #FFD700;
    font-size: 2rem;
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.excellent-title {
    font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 2.8rem;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 18px #b8860b, 0 1px 0 #fffbe6;
    position: relative;
    z-index: 2;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* Card grid */
.excellent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Vintage style card */
.excellent-card {
    background: linear-gradient(120deg, #fffbe6 70%, #f3e6c6 130%), url('assets/textures/cross-scratches.png') repeat;
    border: 3px solid #ffe066;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15), 
                inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 38px 32px 32px 32px;
    color: #7A4F1D;
    font-size: 1.13rem;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: card-fade-in-up 0.9s cubic-bezier(.4,0,.2,1) forwards;
    z-index: 1;
}

@keyframes card-fade-in-up {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card Decorative elements */
.card-seal {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-seal i {
    font-size: 40px;
    color: rgba(184, 134, 11, 0.15);
}

.card-number {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(184, 134, 11, 0.25);
}

.card-divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #B8860B, transparent);
    margin: 10px auto 15px;
    opacity: 0.6;
}

.excellent-card h3 {
    color: #b22222;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    margin-bottom: 18px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    font-weight: 700;
    letter-spacing: 1.2px;
    text-align: center;
    padding-top: 15px;
    min-height: 60px; /* Ensure consistent title area height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.excellent-card ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #7A4F1D;
    font-size: 1.08rem;
    line-height: 1.8;
}

.excellent-card ul li {
    margin-bottom: 8px;
    position: relative;
}

.excellent-card ul li::marker {
    color: #e2b13c;
    font-size: 1.1em;
}

/* Card hover effect */
.excellent-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.3), 
                0 2px 8px rgba(255, 251, 230, 0.8) inset;
    background: linear-gradient(120deg, #ffe066 60%, #fffbe6 120%), 
                url('assets/textures/cross-scratches.png') repeat;
}

.excellent-card:hover .card-seal i {
    color: rgba(178, 34, 34, 0.2);
}

.excellent-card:hover .card-number {
    color: rgba(178, 34, 34, 0.25);
}

.excellent-card:hover .card-divider {
    background: linear-gradient(90deg, transparent, #B22222, transparent);
}
/* Bottom decoration */
.excellent-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.footer-ornament {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    flex: 1;
    position: relative;
}

.footer-ornament::before {
    content: '✦';
    position: absolute;
    top: -10px;
    color: #FFD700;
    font-size: 1rem;
}

.footer-ornament:first-child::before {
    right: 10px;
}

.footer-ornament:last-child::before {
    left: 10px;
}

.footer-text {
    font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 1.2rem;
    padding: 0 20px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    white-space: nowrap;
}
/* Responsive adjustment */
@media (max-width: 1100px) {
    .excellent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .excellent-grid {
        grid-template-columns: 1fr;
    }
    
    .excellent-title {
        font-size: 1.8rem;
    }
    
    .ornate-flourish {
        font-size: 1.5rem;
        margin: 0 8px;
    }
    
    .excellent-card {
        padding: 30px 20px 25px 20px;
    }
    
    .card-number {
        font-size: 1.5rem;
    }
    
    .excellent-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-text {
        order: -1;
        margin-bottom: 10px;
}
}

/* FAQ Section - Vintage style */
.faq-section {
    width: 100vw;
    min-height: 70vh;
    background: linear-gradient(135deg, #20411C 80%, #20411C 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.06;
    z-index: 0;
}

/* Scroll container */
.faq-scroll-container {
    width: 90%;
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

/* Scroll handles */
.faq-scroll-handles {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
}

.faq-scroll-handle {
    width: 40px;
    height: 80px;
    background: linear-gradient(90deg, #7A4F1D 0%, #B8860B 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    position: relative;
}

.faq-scroll-handle::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: linear-gradient(90deg, #E2B13C 0%, #FFD700 100%);
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.5);
}

.faq-scroll-handle.left {
    transform: translateX(-20px) rotate(-5deg);
}

.faq-scroll-handle.right {
    transform: translateX(20px) rotate(5deg);
}

/* Parchment background */
.faq-parchment {
    background: linear-gradient(135deg, #F3E6C6 0%, #E8DCC0 100%);
    border: 3px solid #B8860B;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.6);
    position: relative;
    margin-top: -20px;
    z-index: 2;
    background-image: 
        url('assets/textures/cross-scratches.png'),
        linear-gradient(135deg, #F3E6C6 0%, #E8DCC0 100%);
    background-blend-mode: overlay;
    background-size: 200px 200px, 100% 100%;
}

.faq-parchment::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
    border-radius: 10px;
}

/* Title decoration */
.faq-title-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.ornament-left, .ornament-right {
    font-size: 2rem;
    color: #B22222;
    margin: 0 15px;
}

.faq-title {
    font-family: 'Cinzel', serif;
    color: #B22222;
    font-size: 2.4rem;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Category tabs */
.faq-category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.faq-tab {
    background: linear-gradient(135deg, #E2B13C 0%, #B8860B 100%);
    color: #20411C;
    border: 2px solid #7A4F1D;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 8px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
}

.faq-tab:hover, .faq-tab.active {
    background: linear-gradient(135deg, #FFD700 0%, #E2B13C 100%);
    color: #B22222;
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.6);
  }

/* Category content */
.faq-category {
    display: none;
    position: relative;
    z-index: 1;
  }

.faq-category.active {
    display: block;
  }

/* Accordion style */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: linear-gradient(135deg, #FFFBE6 0%, #F3E6C6 100%);
    border: 2px solid #B8860B;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.faq-question {
    padding: 12px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #F7F3E0 0%, #F3E6C6 100%);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid #B8860B;
    background: linear-gradient(135deg, #FFE066 0%, #E2B13C 100%);
}

.faq-icon {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #B22222;
    margin-right: 10px;
    min-width: 20px;
}

.question-text {
    flex: 1;
    font-weight: 600;
    color: #7A4F1D;
    font-size: 0.9rem;
}

.toggle-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(90deg);
}

/* Enhanced FAQ answer style - Ensure complete hiding and correct display */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.4);
    display: flex;
    align-items: flex-start;
    line-height: 0;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
    line-height: 1.6;
    opacity: 1;
}

/* Bottom decoration */
.faq-footer-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.ornament-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #B8860B, transparent);
    flex: 1;
}

.ornament-symbol {
    font-size: 1.5rem;
    color: #B22222;
    margin: 0 15px;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .faq-parchment {
        padding: 20px;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .ornament-left, .ornament-right {
        font-size: 1.5rem;
    }
    
    .faq-tab {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .faq-scroll-handle {
        display: none;
    }
}

@media (max-width: 480px) {
    .faq-parchment {
        padding: 15px;
    }
    
    .faq-title {
        font-size: 1.5rem;
    }
    
    .faq-category-tabs {
        gap: 5px;
    }
    
    .faq-tab {
        font-size: 0.8rem;
        padding: 6px 10px;
}

    .faq-icon {
        font-size: 1rem;
    }
    
    .question-text {
        font-size: 0.9rem;
    }
}

/* Why Section - Vintage style */
.why-section {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #1b3a1b 80%, #204020 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.10;
    z-index: 0;
}

.why-vintage-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Gorgeous title decoration */
.why-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.why-crown-decoration {
    display: flex;
    align-items: center;
    flex: 1;
}

.why-crown-decoration.left {
    justify-content: flex-end;
}

.why-crown-decoration.right {
    justify-content: flex-start;
}

.crown-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E2B13C 0%, #FFD700 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 2;
}

.crown-ornament i {
    color: #1b3a1b;
    font-size: 1.5rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.crown-line {
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), #FFD700, rgba(255, 215, 0, 0.2));
    width: 100px;
    position: relative;
}

.why-crown-decoration.left .crown-line {
    margin-right: -5px;
}

.why-crown-decoration.right .crown-line {
    margin-left: -5px;
}

.why-title {
    font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 2.4rem;
    margin: 0 20px;
    text-shadow: 0 2px 12px #b8860b;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    text-align: center;
}

/* Content area */
.why-content {
    width: 100%;
    background: linear-gradient(120deg, rgba(232, 219, 150, 0.1) 0%, rgba(236, 217, 112, 0.2) 100%);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(230, 184, 0, 0.3);
    padding: 40px;
    position: relative;
    z-index: 1;
}

/* Introduction text */
.why-intro {
    position: relative;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f8f4e6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.why-intro p {
    flex: 1;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.why-intro strong {
    color: #ffe066;
    font-weight: 700;
}

.intro-ornament {
    font-size: 1.8rem;
    color: #E2B13C;
    margin: 0 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}
/* Card Grid */
.why-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Vintage style card */
.why-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Card decorative corners */
.card-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #E2B13C;
    z-index: 2;
}

.top-left {
    top: 10px;
    left: 10px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-top-left-radius: 5px;
}

.top-right {
    top: 10px;
    right: 10px;
    border-top: 2px solid;
    border-right: 2px solid;
    border-top-right-radius: 5px;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: 5px;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-bottom-right-radius: 5px;
}

.why-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #E2B13C 0%, #FFD700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.5);
    position: relative;
    z-index: 1;
}

.why-card-icon i {
    font-size: 28px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.why-card-content {
    position: relative;
    z-index: 1;
}

.why-card-content h3 {
    color: #ffe066;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.why-card-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    margin-bottom: 15px;
}

.why-card-content p {
    color: #f8f4e6;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Card hover effect */
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.why-card:hover .why-card-icon {
    background: linear-gradient(135deg, #FFD700 0%, #E2B13C 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.why-card:hover .card-corner {
    border-color: #FFD700;
}

    /* Bottom decoration */
.why-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    flex-direction: column;
}

.footer-seal {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.seal-border {
    position: absolute;
    inset: 0;
    border: 3px solid #E2B13C;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seal-border::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 1px dashed #FFD700;
    border-radius: 50%;
    opacity: 0.7;
}

.seal-inner {
    position: absolute;
    inset: 10px;
    background: linear-gradient(135deg, #E2B13C 0%, #FFD700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.seal-inner i {
    font-size: 30px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.footer-text {
    font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 1.4rem;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment */
@media (max-width: 1100px) {
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .why-content {
        padding: 25px;
    }
    
    .why-intro {
        padding: 20px;
        font-size: 1.1rem;
        flex-direction: column;
    }
    
    .intro-ornament {
        margin: 10px 0;
    }
    
    .why-crown-decoration .crown-line {
        width: 60px;
    }
    
    .crown-ornament {
        width: 35px;
        height: 35px;
    }
    
    .crown-ornament i {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .why-cards {
        grid-template-columns: 1fr;
    }
    
    .why-title {
        font-size: 1.6rem;
        margin: 0 10px;
    }
    
    .why-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .why-crown-decoration {
        width: 100%;
        justify-content: center !important;
    }
    
    .why-crown-decoration .crown-line {
        width: 100px;
    }
    
    .footer-text {
        font-size: 1.2rem;
    }
}

/* Story Section - Vintage style */
.story-section {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #c4991b 80%, #b8860b 100%);
    color: #1b3a1b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.07;
    z-index: 0;
}

.story-vintage-container {
    width: 90%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

/* Title and royal seal */
.story-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.royal-seal {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}

.seal-ring {
    position: absolute;
    inset: 0;
    border: 4px solid #1b3a1b;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.seal-ring::before {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px dashed #ffe066;
    border-radius: 50%;
    opacity: 0.7;
}

.seal-center {
    position: absolute;
    inset: 15px;
    background: linear-gradient(135deg, #1b3a1b 0%, #204020 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(27, 58, 27, 0.5);
    border: 3px solid #ffe066;
}

.seal-center i {
    font-size: 28px;
    color: #ffe066;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.story-title {
    font-family: 'Cinzel', serif;
    color: #b22222;
    font-size: 2.4rem;
    text-shadow: 0 2px 12px #ffe066;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Vintage book effect */
.vintage-book {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.book-spine {
    display: none; /* Remove spine */
}

.book-cover {
    position: relative;
    background: linear-gradient(135deg, #7A4F1D 0%, #B8860B 100%);
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    padding: 20px;
    z-index: 2;
    transform: none; /* Remove tilt effect */
}

.book-pages {
    background: linear-gradient(120deg, #fffbe6 60%, #f3e6c6 100%);
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
    padding: 40px;
    position: relative;
}

.book-pages::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.04;
    z-index: 0;
    pointer-events: none;
}

.page-content {
    position: relative;
    z-index: 1;
}

.book-shadow {
    position: absolute;
    bottom: -20px;
    left: 10%;
    right: 5%;
    height: 20px;
    background: rgba(0, 0, 0, 0.3);
    filter: blur(10px);
    border-radius: 50%;
    z-index: 0;
}

/* Introductory text */
.rummy-flow-intro {
    position: relative;
    margin-bottom: 40px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 224, 102, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #7A4F1D;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rummy-flow-intro p {
    margin: 0;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.rummy-flow-intro strong {
    color: #b22222;
    font-weight: 700;
}

.intro-decoration {
    height: 10px;
    background-size: 20px 10px;
    background-repeat: repeat-x;
    margin: 0 20px;
}

.intro-decoration.top {
    background-image: radial-gradient(circle at 10px 0, #b8860b 3px, transparent 6px);
    margin-bottom: 15px;
}

.intro-decoration.bottom {
    background-image: radial-gradient(circle at 10px 10px, #b8860b 3px, transparent 6px);
    margin-top: 15px;
}

/* Flow card layout */
.rummy-flow-wrapper {
    margin-bottom: 40px;
}

.rummy-flow-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

.connector-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, #b8860b 0%, #ffe066 50%, #b8860b 100%);
    position: relative;
}

.connector-arrow {
    font-size: 24px;
    color: #b8860b;
    margin-top: -12px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Process card style */
.rummy-flow-card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-number {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #b8860b 0%, #ffe066 100%);
    color: #1b3a1b;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 0 0 8px 0;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.card-content {
    padding: 40px 20px 25px;
    text-align: center;
}

.rummy-flow-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f3e6c6 0%, #fffbe6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
    border: 1px solid rgba(184, 134, 11, 0.4);
}

.rummy-flow-icon i {
    font-size: 22px;
    color: #b8860b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.rummy-flow-title {
    color: #b22222;
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.rummy-flow-desc {
    color: #7A4F1D;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Card hover effect */
.rummy-flow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(184, 134, 11, 0.3);
}

.rummy-flow-card:hover .card-number {
    background: linear-gradient(135deg, #ffe066 0%, #b8860b 100%);
}


.page-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #b8860b, transparent);
    flex: 1;
}

.divider-icon {
    margin: 0 15px;
    color: #b8860b;
    font-size: 1.2rem;
}

/* Quick tips area */
.rummy-tips-adv {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 25px;
    position: relative;
}

.tips-heading {
    color: #b22222;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.rummy-tips-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    color: #7A4F1D;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tip-item i {
    color: #b22222;
}

.tip-item a {
    color: #b22222;
    text-decoration: underline;
    transition: color 0.2s;
}

.tip-item a:hover {
    color: #b8860b;
}

.tip-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
    border-color: #b8860b;
}

/* Call to action */
.rummy-flow-cta {
    text-align: center;
}

.cta-box {
    display: inline-block;
    background: linear-gradient(135deg, #1b3a1b 0%, #204020 100%);
    border-radius: 8px;
    padding: 20px 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-box p {
    margin: 0;
    color: #fff;
    font-size: 1.2rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.golden-highlight {
    color: #dfb308;
    text-shadow: 0 0 10px rgba(255, 224, 102, 0.5);
}

.cta-decoration {
    position: absolute;
    bottom: -5px;
    left: 10%;
    right: 10%;
    height: 10px;
    background-image: radial-gradient(circle at 10px 0, #ffe066 2px, transparent 4px);
    background-size: 20px 10px;
    background-repeat: repeat-x;
}

/* Bottom poker suit decoration */
.story-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.card-suits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.suit {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.suit.heart, .suit.diamond {
    color: #b22222;
}

.suit.club, .suit.spade {
    color: #1b3a1b;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .rummy-flow-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .rummy-flow-card {
        width: 100%;
        max-width: 400px;
    }
    
    .book-spine {
        display: none;
    }
    
    .book-cover {
        transform: none;
        padding: 20px;
        border-radius: 10px;
    }
    
    .book-pages {
        padding: 25px;
    }
    
    .story-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .story-title {
        font-size: 1.8rem;
    }
    
    .royal-seal {
        width: 60px;
        height: 60px;
    }
    
    .seal-center {
        inset: 12px;
    }
    
    .seal-center i {
        font-size: 20px;
    }
    
    .rummy-flow-intro {
        padding: 20px 15px;
        font-size: 1.1rem;
    }
    
    .tips-heading {
        font-size: 1.2rem;
    }
    
    .cta-box p {
        font-size: 1.1rem;
    }
}

/* Rummy Game Variants Styles */
.timeline-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1b3a1b;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border: 2px solid #e6b800;
    border-radius: 12px;
    padding: 24px 32px;
    box-shadow: 
        0 4px 16px rgba(0,0,0,0.1),
        0 2px 8px rgba(230,184,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.4);
    background-image: 
        url('assets/textures/cross-scratches.png'),
        linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    background-blend-mode: overlay;
    background-size: 150px 150px, 100% 100%;
}

.timeline-intro strong {
    color: #b22222;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    font-weight: 700;
}

.timeline {
    position: relative;
    margin-bottom: 40px;
    z-index: 1;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e6b800 0%, #b8860b 50%, #e6b800 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(230,184,0,0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6b800 0%, #b8860b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 6px 20px rgba(230,184,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    border: 3px solid #b8860b;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(135deg, #ffe066 0%, #e6b800 100%);
    border-radius: 50%;
    z-index: 0;
}

.timeline-icon i {
    font-size: 32px;
    color: #1b3a1b;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 50%, #e8dcc0 100%);
    border: 3px solid #e6b800;
    border-radius: 16px;
    padding: 28px;
    margin: 0 20px;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
    background-image: 
        url('assets/textures/cross-scratches.png'),
        linear-gradient(135deg, #fffbe6 0%, #f3e6c6 50%, #e8dcc0 100%);
    background-blend-mode: overlay;
    background-size: 200px 200px, 100% 100%;
    flex: 1;
    max-width: 400px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,200,0.3), transparent);
    transition: left 0.5s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 32px rgba(0,0,0,0.15),
        0 4px 12px rgba(230,184,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.4),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    border-color: #b8860b;
}

.timeline-content h3 {
    color: #b22222;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}

.timeline-date {
    color: #e6b800;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.timeline-content p {
    color: #1b3a1b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

.timeline-content ul {
    margin: 0;
    padding: 0 0 0 20px;
    color: #1b3a1b;
    font-size: 1rem;
    line-height: 1.6;
}

.timeline-content ul li {
    margin-bottom: 6px;
    position: relative;
}

.timeline-content ul li::marker {
    color: #e6b800;
    font-size: 1.1em;
}

.evolution-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    background: linear-gradient(135deg, #ffe066 0%, #e6b800 100%);
    border: 2px solid #b8860b;
    border-radius: 16px;
    padding: 20px 24px;
    color: #1b3a1b;
    box-shadow: 0 6px 20px rgba(230,184,0,0.3);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(230,184,0,0.4);
    background: linear-gradient(135deg, #e6b800 0%, #ffe066 100%);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #b22222;
    text-shadow: 0 2px 4px rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* Responsive adjustments for timeline */
@media (max-width: 900px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }
    
    .timeline-icon {
        width: 60px;
        height: 60px;
        position: absolute;
        left: -60px;
    }
    
    .timeline-icon i {
        font-size: 24px;
    }
    
    .timeline-content {
        margin: 0;
        max-width: none;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
    }
    
    .evolution-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 16px 20px;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .banner-img { width: 90vw; height: 30vw; min-height: 120px; }
    .banner-content, .why-content, .story-content { padding: 16px; }
    .excellent-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .navbar { padding: 0 12px; height: 56px; }
    .navbar .logo { font-size: 1.2rem; }
    .banner-title { font-size: 2rem; }
    .banner-btn { font-size: 1rem; padding: 12px 24px; }
    .feature-block { min-width: 120px; font-size: 1rem; padding: 18px 8px; }
}
@media (max-width: 1100px) {
    .excellent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .excellent-grid {
        grid-template-columns: 1fr;
    }
    .faq-title {
        font-size: 1.2rem;
        padding: 16px 0 4px 0;
    }
    .faq-title-underline {
        width: 80px;
        height: 3px;
        margin-top: 6px;
    }
    .faq-title-wrap {
        margin-bottom: -18px;
    }
}

.cta-button {
    background: var(--gold-gradient);
    color: var(--vintage-green);
    border-radius: 50px;
    border: 2px solid var(--golden-yellow);
    box-shadow: 0 6px 24px #e2b13c55, 0 0 0 2px #fffbe6 inset;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.cta-button::after {
    content: '';
    position: absolute;
    left: 10%; top: 0; right: 10%; height: 30%;
    background: linear-gradient(180deg, #fffbe6cc 0%, transparent 100%);
    border-radius: 50px 50px 0 0;
    opacity: 0.5;
    pointer-events: none;
}
.cta-button:hover {
    box-shadow: 0 12px 36px #FFD70066, 0 0 0 2.5px #fffbe6 inset;
    background: linear-gradient(90deg, #FFD700 0%, #E2B13C 100%);
    transform: translateY(-2px) scale(1.03);
}

/* FAQ Flip Card Style -  */
.faq-card {
  perspective: 1200px;
  width: 100%;
  margin-bottom: 2.5rem;
  border-radius: 24px;
  min-height: 140px;
  position: relative;
}
.faq-card-inner {
  position: relative;
  width: 100%;
  min-height: 140px;
  transition: transform 0.8s cubic-bezier(.22,.68,.53,1.01);
  transform-style: preserve-3d;
  border-radius: 24px;
}
.faq-card:hover .faq-card-inner,
.faq-card:focus-within .faq-card-inner {
  transform: rotateY(180deg);
}
.faq-card-front, .faq-card-back {
  position: absolute;
  width: 100%;
  min-height: 140px;
  left: 0; top: 0;
  backface-visibility: hidden;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: none !important;
  padding: 2rem;
}
.faq-card-front {
  background: var(--vintage-gradient);
  color: var(--soft-gold);
  border: 2px solid var(--golden-yellow);
  box-shadow: none !important;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
}
.faq-card-back {
  background: linear-gradient(120deg, #fffbe6 60%, #f3e6c6 100%);
  color: var(--vintage-green);
  border: 2px solid var(--golden-yellow);
  box-shadow: none !important;
  font-family: 'Lato', sans-serif;
}

.casino-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #b8860b;
    background: linear-gradient(120deg, #ffe066 0%, #b8860b 100%);
    border: 3px solid #e6b800;
    border-radius: 40px;
    padding: 20px 56px;
    box-shadow: 0 6px 24px #b8860b55, 0 2px 8px #fffbe6cc inset;
    text-shadow: 0 2px 8px #fffbe6cc, 0 1px 0 #b8860b;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
    min-width: 260px;
    margin: 24px 0 0 0;
    z-index: 1;
}
.casino-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        url('assets/textures/noise-lines.png') repeat,
        url('assets/textures/nice-snow.png') repeat,
        linear-gradient(120deg, #fffbe6cc 0%, transparent 100%);
    opacity: 0.22;
    border-radius: 40px;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
}
.casino-btn .btn-icon-left,
.casino-btn .btn-icon-right {
    font-size: 1.3em;
    color: #e6b800;
    margin: 0 18px;
    text-shadow: 0 1px 6px #fffbe6cc, 0 1px 0 #b8860b;
    user-select: none;
    pointer-events: none;
}
.casino-btn .btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
    position: relative;
}
.casino-btn .fa-crown {
    color: #e6b800;
    font-size: 1.2em;
    margin-right: 6px;
    text-shadow: 0 1px 6px #fffbe6cc, 0 1px 0 #b8860b;
}
.casino-btn:hover, .casino-btn:focus {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 48px #ffe066cc, 0 0 24px #fffbe6cc inset;
    filter: brightness(1.08);
}
.casino-btn:active {
    transform: scale(0.97);
    filter: brightness(0.98);
}

.casino-btn::after {
    content: '';
    position: absolute;
    left: -60%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,200,0.0) 0%, rgba(255,255,200,0.25) 50%, rgba(255,255,200,0.0) 100%);
    transform: skewX(-20deg);
    filter: blur(2px);
    animation: btn-shine 2.8s linear infinite;
    pointer-events: none;
    border-radius: 40px;
    z-index: 2;
}
@keyframes btn-shine {
    0% { left: -60%; }
    100% { left: 120%; }
}

.banner-img-slider {
    position: relative;
    width: 576px;
    height: 324px;
    margin: 0 auto 32px;
    border-radius: 18px;
    box-shadow: 0 8px 32px #000a, 0 2px 8px #e6b80088;
    border: 4px solid #e6b800;
    overflow: hidden;
    background: transparent url('assets/textures/cross-scratches.png') repeat;
}
.slider-img {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
    z-index: 1;
}
.slider-img.active {
    opacity: 1;
    z-index: 2;
}

.faq-book {
    display: flex;
    background: linear-gradient(120deg, #fffbe6 80%, #f3e6c6 100%), url('assets/textures/cross-scratches.png') repeat;
    border-radius: 36px 18px 18px 36px;
    box-shadow: none !important;
    position: relative;
    min-width: 700px;
    min-height: 420px;
    max-width: 1000px;
    width: 80vw;
    overflow: visible;
}
.faq-pages {
    flex: 1 1 0;
    padding: 56px 36px 56px 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: transparent;
    border-radius: 36px 0 0 36px;
    position: relative;
    z-index: 1;
    box-shadow: -8px 0 24px #041305e5 inset;
}
.faq-bookmarks {
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 18px;
    padding: 48px 0 48px 0;
    background: linear-gradient(120deg, #E2B13C 60%, #7A4F1D 100%);
    border-radius: 0 24px 24px 0;
    position: relative;
    z-index: 3;
    box-shadow: 8px 0 24px #b8860b22;
}
.faq-bookmark {
    background: linear-gradient(90deg, #ffe066 60%, #e2b13c 100%);
    color: #7A4F1D;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 0 18px 18px 0;
    box-shadow: 2px 4px 12px #b8860b22;
    padding: 18px 20px 18px 28px;
    margin-right: -36px;
    cursor: pointer;
    border-left: 4px solid #b8860b;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    position: relative;
    min-width: 80px;
}
.faq-bookmark.active, .faq-bookmark:hover {
    background: linear-gradient(90deg, #e2b13c 60%, #ffe066 100%);
    color: #b22222;
    box-shadow: 4px 8px 24px #e2b13c44;
    border-left: 6px solid #b22222;
}
@media (max-width: 900px) {
    .faq-book { flex-direction: column; min-width: unset; width: 98vw; border-radius: 24px; }
    .faq-pages { padding: 32px 12px 32px 12px; border-radius: 24px 24px 0 0; }
    .faq-bookmarks { flex-direction: row; width: 100%; padding: 0 0 12px 0; align-items: flex-start; gap: 8px; border-radius: 0 0 18px 18px; }
    .faq-bookmark { border-radius: 0 0 18px 18px; margin: 0; border-left: none; border-top: 4px solid #b8860b; }
    .faq-bookmark.active, .faq-bookmark:hover { border-top: 6px solid #b22222; }
}

#about-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/about-banner.jpg') center/cover no-repeat;
    min-height: 30vh;
    animation: about-banner-fade-in 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes about-banner-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.footer-content {
    background: linear-gradient(120deg, #fffbe6 80%, #f3e6c6 100%);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -4px 32px #b8860b22, 0 0 0 2px #e2b13c44 inset;
    border-top: 3px solid #ffe066;
    padding: 48px 24px 32px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
.footer-content h2 {
    font-family: 'Cinzel', serif;
    color: #b8860b;
    font-size: 2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #ffe06644;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.footer-links a {
    display: inline-block;
    background: linear-gradient(90deg, #ffe066 60%, #e2b13c 100%);
    color: #7A4F1D;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.05rem;
    border-radius: 18px;
    padding: 10px 24px;
    margin: 4px 0;
    text-decoration: none;
    box-shadow: 0 2px 8px #b8860b22;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.footer-links a:hover {
    background: linear-gradient(90deg, #e2b13c 60%, #ffe066 100%);
    color: #b22222;
    box-shadow: 0 4px 16px #e2b13c44;
}
.footer-content::before {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    margin: 0 auto 32px auto;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffe066 0%, #b8860b 100%);
    opacity: 0.85;
}

.footer-bottom {
    background: linear-gradient(180deg, #1b3a1b 0%, #162A13 100%);
    color: #ffe066;
    position: relative;
    overflow: hidden;
    padding-top: 0;
}


.footer-decorative-border {
    height: 8px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, #162A13, #1b3a1b, #162A13);
    position: relative;
    border-bottom: 1px solid #e2b13c;
}

.border-pattern {
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 45%, #e2b13c 45%, #e2b13c 55%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, #e2b13c 45%, #e2b13c 55%, transparent 55%);
    background-size: 16px 16px;
    opacity: 0.6;
    box-shadow: 0 1px 8px rgba(226, 177, 60, 0.3);
}

@keyframes border-scroll {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}


.footer-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
}

.footer-content-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/nice-snow.png') repeat;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}


.footer-logo-section {
    flex: 0 0 100%;
    max-width: 300px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-emblem {
    width: 70px;
    height: 70px;
    position: relative;
    margin: 0 auto 15px;
}

.emblem-outer {
    position: absolute;
    inset: 0;
    border: 3px solid #ffe066;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.emblem-inner {
    position: absolute;
    inset: 10px;
    background: linear-gradient(135deg, #b8860b 0%, #ffe066 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.emblem-inner i {
    font-size: 28px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffe066;
    margin: 0 0 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.footer-tagline {
    color: #e2b13c;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}


.footer-columns {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column-title {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #ffe066;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ffe066, transparent);
}


.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #f3e6c6;
    font-size: 0.95rem;
}

.footer-contact-item i {
    color: #e2b13c;
    font-size: 1.1rem;
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #f3e6c6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link i {
    color: #e2b13c;
    margin-right: 8px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #ffe066;
    transform: translateX(5px);
}


.footer-age-restriction {
    background: linear-gradient(90deg, rgba(27, 58, 27, 0.8), #1b3a1b, rgba(27, 58, 27, 0.8));
    padding: 1px;
    margin: 30px 0 0;
    position: relative;
    border-top: 1px solid rgba(226, 177, 60, 0.3);
    border-bottom: 1px solid rgba(226, 177, 60, 0.3);
}

.age-restriction-content {
    background: rgba(178, 34, 34, 0.7);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.age-icon {
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    color: #b22222;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3), inset 0 0 3px rgba(255, 255, 255, 0.5);
    border: 1px solid #e2b13c;
}

.age-text {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}


.footer-bottom-bar {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.copyright {
    color: #f3e6c6;
    font-size: 0.9rem;
}

.footer-card-suits {
    display: flex;
    gap: 15px;
}

.footer-card-suits .suit {
    font-size: 1.2rem;
    color: #e2b13c;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}


@media (max-width: 900px) {
    .footer-content-wrapper {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .footer-logo-section {
        margin: 0 auto 30px;
    }
    
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-column {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .age-restriction-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* About page specific styles */
#about-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/about-banner.jpg') center/cover no-repeat;
    min-height: 30vh;
    animation: about-banner-fade-in 1.2s cubic-bezier(.4,0,.2,1);
}

.banner-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #b8860b 0%, #ffe066 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    border: 2px solid #ffe066;
    margin: 0 30px;
    flex-shrink: 0;
}

.banner-ornament i {
    font-size: 28px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.banner-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.banner-subtitle {
    font-size: 1.8rem;
    color: #ffe066;
    margin-bottom: 20px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.banner-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffe066, transparent);
}

.divider-icon {
    margin: 0 15px;
    color: #ffe066;
    font-size: 1.2rem;
}

.banner-tagline {
    font-size: 1.2rem;
    color: #f3e6c6;
    font-style: italic;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 246, 230, 0.9) 0%, rgba(243, 230, 198, 0.9) 100%);
    border-radius: 10px;
    border: 1px solid #e2b13c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.1;
    border-radius: 10px;
    pointer-events: none;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #7A4F1D;
    margin: 0;
}


.timeline {
    position: relative;
    padding: 20px 0;
    margin-bottom: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, #e2b13c, #ffe066, #e2b13c);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(226, 177, 60, 0.5);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(226, 177, 60, 0.5);
    border: 2px solid #ffe066;
    z-index: 2;
    position: relative;
    margin: 0 20px;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #e2b13c;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-icon::before {
    right: 100%;
}

.timeline-item:nth-child(even) .timeline-icon::before {
    left: 100%;
}

.timeline-icon i {
    font-size: 24px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.timeline-content {
    width: calc(50% - 50px);
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2b13c;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #e2b13c;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -10px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #e2b13c transparent transparent;
}

.timeline-content:hover::before {
    border-color: transparent #b22222 transparent transparent;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #b22222;
    transition: all 0.3s ease;
}

.timeline-era {
    color: #b22222;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
}

.timeline-date {
    color: #7A4F1D;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(255, 224, 102, 0.3);
    padding: 3px 10px;
    border-radius: 15px;
}

.timeline-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2b13c, transparent);
    margin: 15px 0;
}

.timeline-content p {
    color: #7A4F1D;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-content ul {
    padding-left: 20px;
    margin: 0;
}

.timeline-content ul li {
    color: #7A4F1D;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.timeline-content ul li::marker {
    color: #b22222;
    font-size: 1.1em;
}

.evolution-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 10px;
    padding: 20px;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #b8860b;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e2b13c 0%, #ffe066 100%);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1b3a1b;
    margin-bottom: 5px;
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.stat-label {
    font-size: 1rem;
    color: #7A4F1D;
    font-weight: 600;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .banner-content {
        flex-direction: column;
    }
    
    .banner-ornament {
        margin: 20px 0;
    }
    
    .timeline::before {
        left: 30px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
    }
    
    .timeline-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 40px;
        height: 40px;
        margin: 0;
    }
    
    .timeline-icon i {
        font-size: 18px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .evolution-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 80%;
}
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Contact page specific style */
#contact-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/contact-banner.jpg') center/cover no-repeat;
    min-height: 30vh;
    animation: contact-banner-fade-in 1.2s cubic-bezier(.4,0,.2,1) !important;
}
@keyframes contact-banner-fade-in {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-section {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.contact-vintage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-ornate-header {
  display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.contact-title-wrapper {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.contact-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #ffe066;
    margin: 0 15px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 246, 230, 0.9) 0%, rgba(243, 230, 198, 0.9) 100%);
    border-radius: 10px;
    border: 1px solid #e2b13c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.contact-intro::before {
  content: '';
  position: absolute;
  inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.1;
    border-radius: 10px;
  pointer-events: none;
}

.contact-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #7A4F1D;
    margin: 0;
}

.contact-flex-wrap {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-card,
.contact-form-card {
    flex: 1;
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2b13c;
    position: relative;
    transition: all 0.3s ease;
}

.contact-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-corner {
  position: absolute;
  width: 20px;
  height: 20px;
    border: 2px solid #e2b13c;
}

.top-left {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
}

.contact-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon-seal {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #b8860b;
}

.contact-icon-seal i {
    font-size: 22px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.contact-card-title {
  font-family: 'Cinzel', serif;
    font-size: 1.5rem;
  color: #b22222;
    margin: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.card-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e2b13c, transparent);
    margin: 20px 0;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border-radius: 50%;
  display: flex;
  align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2b13c;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 18px;
    color: #b22222;
}

.info-content {
    flex: 1;
}

.info-label {
    display: block;
    font-weight: 700;
  color: #7A4F1D;
    margin-bottom: 5px;
}

.info-value {
    color: #1b3a1b;
    font-size: 1.05rem;
}

.info-value a {
  color: #b22222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-value a:hover {
  color: #e2b13c;
    text-decoration: underline;
}

.contact-card-note {
    background: rgba(255, 224, 102, 0.3);
  border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.note-icon {
    width: 30px;
    height: 30px;
    background: #e2b13c;
    border-radius: 50%;
  display: flex;
  align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.note-icon i {
    font-size: 16px;
    color: #fff;
}

.contact-card-note p {
    margin: 0;
    color: #7A4F1D;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-social {
    text-align: center;
}

.social-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: #b22222;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1b3a1b;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #b8860b;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e2b13c 0%, #ffe066 100%);
}

.social-icon i {
    font-size: 18px;
}

/* Form style optimization */
.contact-form {
  display: flex;
  flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 5px;
}

.form-group label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #7A4F1D;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
  display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
  color: #b22222;
    font-size: 18px;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #e2b13c;
  border-radius: 8px;
  background: #fffbe6;
    color: #1b3a1b;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
  border-color: #b22222;
    box-shadow: 0 0 10px rgba(178, 34, 34, 0.2);
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper .input-icon {
    top: 12px;
}

.textarea-wrapper textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b22222 0%, #7A1D1D 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.3);
  margin-top: 10px;
    border: 1px solid rgba(255, 224, 102, 0.3);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #7A1D1D 0%, #b22222 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(178, 34, 34, 0.4);
}

.btn-icon {
    margin-right: 10px;
    font-size: 18px;
}

.contact-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.footer-ornament {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffe066, transparent);
    position: relative;
}

.footer-ornament::before {
    content: '❦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffe066;
    font-size: 1.2rem;
}

.footer-text {
    font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 1.2rem;
    margin: 0 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .contact-flex-wrap {
        flex-direction: column;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-card,
    .contact-form-card {
        width: 100%;
  }
    
    .contact-card-header {
        flex-direction: column;
  text-align: center;
    }
    
    .contact-icon-seal {
        margin: 0 0 15px 0;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .contact-vintage-container {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-icon {
        margin: 0 0 10px 0;
    }
    
    .contact-card-note {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .note-icon {
        margin: 0 0 10px 0;
    }
}

/* Agreement page specific style */
.policy-page {
    background: url('assets/textures/subtle-dark-pattern.png') repeat;
}

#policy-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/policy-banner.jpg') center/cover no-repeat;
    min-height: 30vh; /* Reduced from 50vh to 40vh */
    padding: 40px 0; /* Added top and bottom padding */
    animation: policy-banner-fade-in 1.2s cubic-bezier(.4,0,.2,1) !important;
}
@keyframes policy-banner-fade-in {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Removed decorative icons on both sides of the banner */
.policy-page .banner-ornament {
    display: none;
}

.policy-section {
    padding: 60px 0;
  position: relative;
}

.policy-vintage-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.policy-header {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.policy-title-wrapper {
    position: relative;
    display: inline-block;
    padding: 0 40px;
}

.policy-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #ffe066;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    position: relative;
}

.policy-title::before,
.policy-title::after {
    content: '';
  position: absolute;
  top: 50%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #ffe066, transparent);
}

.policy-title::before {
    right: 100%;
    margin-right: 20px;
}

.policy-title::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(90deg, transparent, #ffe066);
}

.policy-ornament {
    position: absolute;
    top: 50%;
  transform: translateY(-50%);
    font-size: 1.5rem;
    color: #ffe066;
}

.policy-ornament.left {
    left: 0;
}

.policy-ornament.right {
    right: 0;
}

.policy-content {
    background: linear-gradient(135deg, #fffbe6 0%, #f3e6c6 100%);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2b13c;
  position: relative;
    margin-bottom: 30px;
}

.policy-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.05;
    border-radius: 8px;
    pointer-events: none;
}

.policy-content p {
  color: #7A4F1D;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-content h3 {
    font-family: 'Cinzel', serif;
    color: #b22222;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(226, 177, 60, 0.5);
  position: relative;
}

.policy-content h3::before {
    content: '§';
    position: absolute;
    left: -25px;
    color: #e2b13c;
    opacity: 0.7;
    font-size: 1.2rem;
}

.policy-content ul,
.policy-content ol {
    color: #7A4F1D;
    padding-left: 25px;
    margin-bottom: 20px;
}

.policy-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-content li::marker {
  color: #b22222;
}

.policy-content a {
    color: #b22222;
    text-decoration: none;
    border-bottom: 1px dotted #b22222;
    transition: all 0.3s ease;
}

.policy-content a:hover {
    color: #e2b13c;
    border-bottom-color: #e2b13c;
}

.policy-content strong {
  color: #b22222;
  font-weight: 700;
}

.policy-content em {
  color: #7A4F1D;
    font-style: italic;
}

.policy-date {
    text-align: right;
    font-style: italic;
    color: #7A4F1D;
    margin-top: 30px;
    font-size: 0.9rem;
}

.policy-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.policy-nav-item {
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 30px;
    padding: 12px 25px;
    color: #1b3a1b;
    text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
  display: flex;
  align-items: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.policy-nav-item:hover {
    background: linear-gradient(135deg, #e2b13c 0%, #ffe066 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.policy-nav-item i {
    margin: 0 8px;
}

.policy-footer {
  display: flex;
  align-items: center;
  justify-content: center;
    margin-top: 40px;
}

.footer-seal {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 20px;
}

.seal-border {
    position: absolute;
    inset: 0;
    border: 2px solid #ffe066;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.seal-inner {
    position: absolute;
    inset: 10px;
    background: linear-gradient(135deg, #b8860b 0%, #ffe066 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.seal-inner i {
    font-size: 24px;
    color: #1b3a1b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.footer-text {
  font-family: 'Cinzel', serif;
    color: #ffe066;
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .policy-vintage-container {
        padding: 30px 20px;
    }
    
    .policy-title {
        font-size: 2rem;
    }
    
    .policy-title::before,
    .policy-title::after {
        width: 40px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
    
    .policy-content h3 {
        font-size: 1.3rem;
    }
    
    .policy-content h3::before {
        left: -20px;
  font-size: 1rem;
}
    
    .policy-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-nav-item {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .policy-title {
        font-size: 1.7rem;
    }
    
    .policy-content {
        padding: 20px 15px;
    }
    
    .policy-content p {
        font-size: 1rem;
    }
    
    .policy-content h3 {
        font-size: 1.2rem;
        margin-left: 20px;
    }
    
    .policy-content h3::before {
        left: -15px;
        font-size: 0.9rem;
    }
}

.policy-page .banner-title-container {
    max-width: 800px;
    margin: 0 auto;
  text-align: center;
}

.policy-page .banner-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.policy-page .banner-subtitle {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.policy-page .banner-tagline {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 15px auto 0;
}

/* Page loading animation */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1b3a1b;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-card {
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 224, 102, 0.5);
  position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    animation: cardFlip 1s ease-in-out;
}

.loader-card::before {
    content: '';
    position: absolute;
    inset: 5px;
    background: linear-gradient(135deg, #7A4F1D 0%, #B8860B 100%);
    border-radius: 7px;
    z-index: 1;
}

.loader-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/textures/cross-scratches.png') repeat;
    opacity: 0.1;
    border-radius: 10px;
    z-index: 2;
}

.loader-card-symbol {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: #ffe066;
    z-index: 3;
    text-shadow: 0 0 20px rgba(255, 224, 102, 0.7);
    opacity: 0;
    animation: symbolFadeIn 0.5s ease-in-out 0.5s forwards;
}

.loader-text {
    margin-top: 30px;
  font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #ffe066;
    text-shadow: 0 0 10px rgba(255, 224, 102, 0.5);
    letter-spacing: 3px;
    opacity: 0;
    animation: textFadeIn 0.5s ease-in-out 0.7s forwards;
}

@keyframes cardFlip {
    0% {
        transform: rotateY(90deg) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: rotateY(180deg) scale(1);
        opacity: 1;
    }
    100% {
        transform: rotateY(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes symbolFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
  }
}

.banner#home {
  position: relative;
  overflow: hidden;
  min-height: 85vh; /* Increased height to make the banner more impressive */
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(20, 40, 20, 0.9), rgba(20, 40, 20, 0.8));
  padding-top: 100px; /* Add top padding to avoid being covered by the navigation bar */
}

.banner#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/textures/vintage-paper.png') repeat;
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
}

.banner#home::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(27, 58, 27, 1), transparent);
  z-index: 1;
  pointer-events: none;
}

.banner#home .banner-content {
  position: relative;
  z-index: 2;
  max-width: 1400px; /* Increase maximum width */
  width: 90%;
  margin: 0 auto;
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}

.banner-ornate-frame {
  position: relative;
  padding: 50px 30px; /* Increase padding to optimize proportions */
  border: 1px solid rgba(226, 177, 60, 0.3);
  background: rgba(20, 40, 20, 0.7);
  box-shadow: 
    0 0 0 1px rgba(226, 177, 60, 0.1),
    0 0 40px rgba(0, 0, 0, 0.4) inset,
    0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px);
  border-radius: 5px;
}

.banner-ornate-frame::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(226, 177, 60, 0.2);
  pointer-events: none;
}

.banner-corner {
  position: absolute;
  width: 40px; /* Increase corner decoration size */
  height: 40px;
  z-index: 3;
}

.banner-corner.top-left {
  top: 0;
  left: 0;
  border-top: 3px solid #e2b13c;
  border-left: 3px solid #e2b13c;
}

.banner-corner.top-right {
  top: 0;
  right: 0;
  border-top: 3px solid #e2b13c;
  border-right: 3px solid #e2b13c;
}

.banner-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 3px solid #e2b13c;
  border-left: 3px solid #e2b13c;
}

.banner-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom: 3px solid #e2b13c;
  border-right: 3px solid #e2b13c;
}

.banner-title-wrapper {
  position: relative;
  text-align: center;
  margin-bottom: 30px; /* Increase spacing between title and content below */
}

.banner-royal-icon {
  font-size: 2.5rem; /* Increase icon size */
  color: #e2b13c;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255, 224, 102, 0.5);
  animation: gentle-pulse 3s infinite alternate;
}

.banner-royal-decoration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.banner-royal-line {
  height: 2px;
  width: 120px;
  background: linear-gradient(90deg, transparent, #e2b13c, transparent);
}

.banner-royal-emblem {
  margin: 0 20px;
  font-size: 1.8rem;
  color: #e2b13c;
}

.banner#home .banner-title {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 4rem; /* Increase title font size */
  color: #ffe066;
  text-shadow: 0 2px 15px rgba(226, 177, 60, 0.7);
  margin: 0 auto 20px;
  padding-bottom: 20px;
  letter-spacing: 3px;
  font-weight: 700;
  line-height: 1.2;
}

.banner#home .banner-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e2b13c, transparent);
}

.banner#home .banner-desc {
  font-size: 1.3rem; /* Increase description font size */
  color: #f3e6c6;
  text-align: center;
  max-width: 900px; /* Increase description maximum width */
  margin: 0 auto 40px; /* Increase spacing below */
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.banner-img-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* Increase image container maximum width */
  height: 350px; /* Increase image container height */
  margin: 0 auto 40px; /* Increase spacing below */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 
    0 0 0 1px #e2b13c,
    0 0 0 5px rgba(226, 177, 60, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.5);
}

.banner-img-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider-img.active {
  opacity: 1;
}

.slider-navigation {
  position: absolute;
  bottom: 20px; /* Increase distance between navigation points and bottom */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px; /* Increase navigation point spacing */
  z-index: 5;
}

.slider-dot {
  width: 14px; /* Increase navigation point size */
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 177, 60, 0.3);
}

.slider-dot.active {
  background: #e2b13c;
  transform: scale(1.2);
  box-shadow: 0 0 10px #e2b13c;
}

.banner-cta {
  text-align: center;
  margin-top: 30px;
}

.banner-features {
  display: flex;
  justify-content: center;
  gap: 30px; /* Increase feature block spacing */
  margin: 40px auto 0; /* Adjust top and bottom margins */
}

.feature-block {
  position: relative;
  padding: 20px 30px; /* Increase inner margin */
  min-width: 200px; /* Increase minimum width */
  text-align: center;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  color: #1b3a1b;
  background: linear-gradient(135deg, #ffe066 0%, #e2b13c 100%);
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.feature-block::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border: 1px solid rgba(27, 58, 27, 0.3);
  border-radius: 3px;
  pointer-events: none;
}

.feature-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/textures/cross-scratches.png') repeat;
  opacity: 0.1;
  pointer-events: none;
}

.feature-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  font-size: 2rem; /* Increase icon size */
  margin-bottom: 12px;
  color: #7A4F1D;
}

@keyframes gentle-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Add background decoration */
.banner-bg-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
  z-index: 1;
}

.banner-bg-decoration.top-left {
  top: 50px;
  left: 50px;
  font-size: 8rem;
  color: #e2b13c;
  transform: rotate(-15deg);
}

.banner-bg-decoration.bottom-right {
  bottom: 50px;
  right: 50px;
  font-size: 8rem;
  color: #e2b13c;
  transform: rotate(15deg);
}

@media (max-width: 1200px) {
  .banner#home {
    padding-top: 90px; /* Adjust top spacing for medium screens */
  }
  
  .banner#home .banner-title {
    font-size: 3.5rem;
  }
  
  .banner-img-container {
    height: 320px;
  }
}

@media (max-width: 900px) {
  .banner#home {
    min-height: 70vh;
    padding-top: 90px; /* Maintain sufficient top spacing */
  }
  
  .banner#home .banner-title {
    font-size: 3rem;
  }
  
  .banner-img-container {
    height: 280px;
  }
  
  .banner-features {
    flex-wrap: wrap;
  }
  
  .banner-bg-decoration {
    display: none;
  }
  
  .banner-ornate-frame {
    padding: 35px 25px; /* Appropriately reduce inner margin to accommodate smaller screens */
  }
}

@media (max-width: 600px) {
  .banner#home {
    min-height: auto;
    padding: 80px 0 40px; /* Optimize spacing for 56px height navigation bar */
  }
  
  .banner-ornate-frame {
    padding: 25px 15px; /* Further optimize inner margin for small screens */
  }
  
  .banner#home .banner-title {
    font-size: 2.2rem;
  }
  
  .banner#home .banner-desc {
    font-size: 1.1rem;
  }
  
  .banner-img-container {
    height: 220px;
  }
  
  .feature-block {
    min-width: 160px;
    padding: 15px 20px;
    font-size: 0.9rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
}

#about-banner, #contact-banner, #policy-banner {
  transform: none !important;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1) !important;
}

.banner#about-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/about-banner.jpg') center/cover no-repeat;
  min-height: 30vh;
}

@keyframes about-banner-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes contact-banner-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes policy-banner-fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ========== Mobile-specific optimization ========== */

/* Mobile basic adaptation */
@media (max-width: 480px) {
  /* Basic font and spacing optimization */
  body {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* Navigation bar mobile optimization */
  .navbar {
    height: 50px;
    padding: 0 15px;
  }
  
  .navbar .logo {
    font-size: 1.1rem;
  }
  
  .navbar .nav-menu {
    gap: 15px;
  }
  
  .navbar .nav-menu li a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .navbar .nav-policy > a {
    font-size: 0.85rem;
    padding: 8px 12px;
  }
  
  .policy-dropdown {
    min-width: 180px;
    top: 45px;
  }
  
  .policy-dropdown a {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
  
  /* Banner mobile optimization */
  .banner#home {
    padding: 70px 0 30px;
    min-height: auto;
  }
  
  .banner-ornate-frame {
    padding: 20px 12px;
    margin: 0 10px;
  }
  
  .banner#home .banner-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .banner#home .banner-desc {
    font-size: 1rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  
  .banner-img-container {
    height: 180px;
    margin: 20px 0;
  }
  
  .banner-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .feature-block {
    width: 90%;
    max-width: 280px;
    min-width: auto;
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  
  .feature-icon {
    font-size: 1.3rem;
  }
  
  .casino-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  /* FAQ mobile optimization */
  .faq-parchment {
    margin: 0 10px;
    padding: 20px 15px;
  }
  
  .faq-title {
    font-size: 1.5rem;
  }
  
  .faq-category-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .faq-tab {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: auto;
  }
  
  .faq-question {
    padding: 12px 15px;
  }
  
  .question-text {
    font-size: 0.9rem;
  }
  
  .faq-answer {
    font-size: 0.85rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 15px;
  }
  
  /* Excellent Section mobile optimization */
  .excellent-vintage-frame {
    margin: 0 10px;
    padding: 20px 15px;
  }
  
  .excellent-title {
    font-size: 1.6rem;
  }
  
  .excellent-card {
    padding: 15px;
  }
  
  .excellent-card h3 {
    font-size: 1.1rem;
    min-height: 50px;
  }
  
  .excellent-card ul li {
    font-size: 0.85rem;
  }
  
  /* Why Section mobile optimization */
  .why-vintage-container {
    margin: 0 10px;
    padding: 20px 15px;
  }
  
  .why-title {
    font-size: 1.6rem;
  }
  
  .why-intro p {
    font-size: 0.9rem;
  }
  
  .why-card {
    padding: 15px;
  }
  
  .why-card-content h3 {
    font-size: 1.1rem;
  }
  
  .why-card-content p {
    font-size: 0.85rem;
  }
  
  /* Story Section mobile optimization */
  .story-vintage-container {
    margin: 0 10px;
    padding: 20px 15px;
  }
  
  .story-title {
    font-size: 1.5rem;
  }
  
  .book-pages {
    padding: 20px 15px;
  }
  
  .rummy-flow-intro {
    padding: 15px 12px;
    font-size: 0.9rem;
  }
  
  .rummy-flow-card {
    padding: 15px;
  }
  
  .rummy-flow-title {
    font-size: 1rem;
  }
  
  .rummy-flow-desc {
    font-size: 0.85rem;
  }
  
  .tip-item {
    padding: 12px 15px;
    font-size: 0.85rem;
  }
  
  .cta-box p {
    font-size: 0.95rem;
  }
  
  /* Footer mobile optimization */
  .footer-bottom {
    padding: 25px 10px 15px;
  }
  
  .footer-content-wrapper {
    padding: 20px 15px;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-column-title {
    font-size: 1rem;
  }
  
  .footer-contact-item,
  .footer-link {
    font-size: 0.85rem;
  }
  
  .footer-brand {
    font-size: 1.3rem;
  }
  
  .footer-tagline {
    font-size: 0.8rem;
  }
  
  .age-restriction-content {
    padding: 8px 15px;
    font-size: 0.75rem;
  }
  
  /* About page mobile optimization */
  #about-banner {
    min-height: 40vh;
    padding-top: 70px;
  }
  
  .banner-title-container {
    padding: 0 15px;
  }
  
  .banner-title {
    font-size: 1.6rem;
  }
  
  .banner-subtitle {
    font-size: 0.9rem;
  }
  
  .banner-tagline {
    font-size: 0.85rem;
  }
  
  .about-intro {
    padding: 20px 15px;
  }
  
  .about-intro p {
    font-size: 0.9rem;
  }
  
  .timeline-content h3 {
    font-size: 1rem;
  }
  
  .timeline-content p {
    font-size: 0.85rem;
  }
  
  .timeline-date {
    font-size: 0.75rem;
  }
  
  /* Contact page mobile optimization */
  #contact-banner {
    min-height: 40vh;
    padding-top: 70px;
  }
  
  .contact-vintage-container {
    padding: 15px 10px;
  }
  
  .contact-title {
    font-size: 1.5rem;
  }
  
  .contact-intro p {
    font-size: 0.9rem;
  }
  
  .contact-card,
  .contact-form-card {
    padding: 15px;
    margin: 0 5px 15px;
  }
  
  .contact-card-title {
    font-size: 1.1rem;
  }
  
  .info-label {
    font-size: 0.8rem;
  }
  
  .info-value {
    font-size: 0.85rem;
  }
  
  .contact-card-note p {
    font-size: 0.8rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
  }
  
  .input-wrapper input,
  .textarea-wrapper textarea {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  
  .contact-submit-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
  
  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
  
  /* Policy page mobile optimization */
  #policy-banner {
    min-height: 35vh;
    padding-top: 70px;
  }
  
  .policy-vintage-container {
    padding: 15px 10px;
  }
  
  .policy-title {
    font-size: 1.4rem;
  }
  
  .policy-content {
    padding: 15px 10px;
  }
  
  .policy-content h3 {
    font-size: 1.1rem;
  }
  
  .policy-content p,
  .policy-content li {
    font-size: 0.85rem;
  }
  
  .policy-date {
    font-size: 0.8rem;
  }
  
  .policy-navigation {
    flex-direction: column;
    gap: 10px;
  }
  
  .policy-nav-item {
    font-size: 0.85rem;
    padding: 10px 15px;
  }
}

/* 超小屏幕优化 (320px-375px) */
@media (max-width: 375px) {
  .navbar {
    height: 45px;
    padding: 0 10px;
  }
  
  .navbar .logo {
    font-size: 1rem;
  }
  
  .navbar .nav-menu {
    gap: 10px;
  }
  
  .navbar .nav-menu li a,
  .navbar .nav-policy > a {
    font-size: 0.8rem;
    padding: 6px 8px;
  }
  
  .banner#home {
    padding: 60px 0 25px;
  }
  
  .banner-ornate-frame {
    margin: 0 5px;
    padding: 15px 8px;
  }
  
  .banner#home .banner-title {
    font-size: 1.6rem;
  }
  
  .banner#home .banner-desc {
    font-size: 0.9rem;
  }
  
  .banner-img-container {
    height: 160px;
  }
  
  .feature-block {
    font-size: 0.8rem;
    padding: 10px 12px;
  }
  
  .faq-parchment,
  .excellent-vintage-frame,
  .why-vintage-container,
  .story-vintage-container {
    margin: 0 5px;
    padding: 15px 10px;
  }
  
  .footer-content-wrapper {
    padding: 15px 10px;
  }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
  /* Increase clickable area */
  .navbar .nav-menu li a,
  .navbar .nav-policy > a,
  .faq-tab,
  .faq-question,
  .casino-btn,
  .contact-submit-btn,
  .policy-nav-item {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Remove hover effects, use focus/active states */
  .excellent-card:hover,
  .why-card:hover,
  .rummy-flow-card:hover {
    transform: none;
  }
  
  .excellent-card:active,
  .why-card:active,
  .rummy-flow-card:active {
    transform: translateY(2px);
    transition: transform 0.1s ease;
  }
  
  /* Scroll optimization */
  .faq-category-tabs,
  .banner-features {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
}

/* Mobile logo style optimization */
@media (max-width: 600px) {
    .navbar .logo img {
        height: 2.5rem !important;
        margin-right: 4px !important;
    }
    .navbar .logo .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .navbar .logo img {
        height: 2rem !important;
    }
    .navbar .logo .logo-text {
        font-size: 1rem;
    }
}

/* Mobile menu logo style optimization */
.mobile-menu-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #ffe066;
    text-shadow: 0 0 24px #fff700, 0 2px 12px #b8860b;
    font-weight: bold;
    letter-spacing: 2px;
}

.mobile-menu-logo .logo-text {
    color: #ffe066;
    text-shadow: 0 0 24px #fff700, 0 2px 12px #b8860b;
}

/* Mobile logo style optimization */
@media (max-width: 600px) {
    .navbar .logo img {
        height: 2.5rem !important;
        margin-right: 4px !important;
    }
    .navbar .logo .logo-text {
        font-size: 1.2rem;
    }
    
    /* Mobile menu logo responsiveness */
    .mobile-menu-logo a img {
        height: 2.5rem !important;
        margin-right: 6px !important;
    }
    .mobile-menu-logo a .logo-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .navbar .logo img {
        height: 2rem !important;
    }
    .navbar .logo .logo-text {
        font-size: 1rem;
    }
    
    /* Mobile menu logo responsiveness */
    .mobile-menu-logo a img {
        height: 2rem !important;
        margin-right: 4px !important;
    }
    .mobile-menu-logo a .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 375px) {
    /* Ultra-small screen mobile menu logo optimization */
    .mobile-menu-logo a img {
        height: 1.8rem !important;
        margin-right: 3px !important;
    }
    .mobile-menu-logo a .logo-text {
        font-size: 1rem;
    }
    
    /* Mobile menu width adjustment */
    .mobile-menu {
        width: 100%;
        padding: 70px 0 20px;
    }
    
    .mobile-menu-content {
        padding: 0 12px;
    }
}

/* Additional mobile compatibility optimization */

/* Footer mobile optimization */
@media (max-width: 768px) {
    .footer-bottom {
        padding: 30px 0;
    }
    
    .footer-content-wrapper {
        padding: 20px 15px;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-logo-section {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-emblem img {
        height: 2.5rem !important;
    }
    
    .footer-brand {
        font-size: 1.5rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .footer-contact-item,
    .footer-link {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .age-restriction-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .age-icon {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Contact form mobile optimization */
@media (max-width: 600px) {
    .contact-card {
        margin: 0 10px 20px;
        padding: 20px 15px;
    }
    
    .contact-card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-icon-seal {
        width: 50px;
        height: 50px;
    }
    
    .contact-card-title {
        font-size: 1.3rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }
    
    .info-content {
        width: 100%;
    }
    
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.9rem;
        word-break: break-all;
    }
    
    .social-icons {
        justify-content: center;
        gap: 15px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* Timeline mobile optimization */
@media (max-width: 600px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        text-align: left;
    }
    
    .timeline-icon {
        left: 8px;
        width: 24px;
        height: 24px;
    }
    
    .timeline-icon i {
        font-size: 0.8rem;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-era {
        font-size: 0.9rem;
    }
    
    .timeline-date {
        font-size: 0.8rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .evolution-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* Extra small screen special optimization */
@media (max-width: 375px) {
    .banner-img-container {
        height: 150px;
        margin: 15px 0;
    }
    
    .slider-navigation {
        bottom: 5px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .contact-info-item {
        padding: 10px 0;
    }
    
    .footer-emblem img {
        height: 2rem !important;
    }
    
    .footer-brand {
        font-size: 1.3rem;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-icon {
        left: 5px;
        width: 20px;
        height: 20px;
    }
}

/* Landscape mobile phone optimization */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
    .banner#home {
        min-height: 70vh;
        padding: 60px 0 20px;
    }
    
    .banner-ornate-frame {
        padding: 15px 20px;
    }
    
    .banner#home .banner-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .banner#home .banner-desc {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .banner-img-container {
        height: 120px;
        margin: 15px 0;
    }
    
    .banner-features {
        flex-direction: row;
        gap: 10px;
    }
    
    .feature-block {
        min-width: auto;
        flex: 1;
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* iOS Safari special optimization */
@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .banner#home {
        min-height: -webkit-fill-available;
    }
    
    .feature-block:active {
        -webkit-tap-highlight-color: rgba(255, 224, 102, 0.2);
    }
}

/* Ensure images do not overflow on mobile devices */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
    }
    
    .banner-img-slider img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.faq-answer {
  font-size: 0.85rem;
}

.faq-item.active .faq-answer {
  padding: 0 15px 15px;
  font-size: 0.85rem;
}

/* Mobile FAQ answer optimization */
@media (max-width: 480px) {
    .faq-item.active .faq-answer {
        padding: 15px;
        max-height: 400px;
    }
}

/* FAQ answer complete hide fix - final version */
.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.faq-item.active .faq-answer {
    max-height: 500px !important;
    padding: 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 600px) {
    .faq-item.active .faq-answer {
        padding: 15px !important;
        max-height: 300px !important;
    }
}

/* Long text element mobile display optimization */
@media (max-width: 768px) {
    .footer-text {
        font-size: 1.1rem !important;
        padding: 0 10px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .excellent-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    .why-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 600px) {
    .footer-text {
        font-size: 1rem !important;
        padding: 0 15px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        hyphens: auto !important;
        overflow-wrap: break-word !important;
    }
    
    .excellent-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        padding: 0 15px !important;
        word-spacing: -1px !important;
    }
    
    .why-title {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        padding: 0 15px !important;
        word-spacing: -1px !important;
    }
    
    .excellent-title-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        padding: 0 10px !important;
    }
    
    .ornate-flourish {
        font-size: 1rem !important;
        margin: 0 3px !important;
    }
}

@media (max-width: 480px) {
    .footer-text {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
    
    .excellent-title {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        padding: 0 10px !important;
        word-spacing: -1px !important;
        letter-spacing: 0px !important;
    }
    
    .why-title {
        font-size: 1.0rem !important;
        line-height: 1.2 !important;
        padding: 0 10px !important;
        word-spacing: -1px !important;
        letter-spacing: 0px !important;
    }
    
    .ornate-flourish {
        display: none !important;
    }
}

@media (max-width: 375px) {
    .footer-text {
        font-size: 0.8rem !important;
        padding: 0 8px !important;
        line-height: 1.3 !important;
        word-spacing: -1px !important;
        letter-spacing: -0.2px !important;
    }
    
    .excellent-title {
        font-size: 1.1rem !important;
        padding: 0 8px !important;
        word-spacing: -2px !important;
        letter-spacing: -0.5px !important;
    }
    
    .why-title {
        font-size: 1.1rem !important;
        padding: 0 8px !important;
        word-spacing: -2px !important;
        letter-spacing: -0.5px !important;
    }
}

/* Protective style to prevent long text overflow */
@media (max-width: 768px) {
    .excellent-vintage-frame,
    .why-vintage-container,
    .story-vintage-container,
    .policy-vintage-container,
    .contact-vintage-container {
        margin: 0 10px !important;
        padding: 20px 15px !important;
        max-width: calc(100vw - 20px) !important;
        box-sizing: border-box !important;
        overflow-wrap: break-word !important;
    }
    
    .excellent-ornate-header,
    .why-header,
    .story-header {
        flex-wrap: wrap !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 600px) {
    .footer-text {
        max-width: calc(100vw - 30px) !important;
        margin: 0 auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .excellent-title-wrapper,
    .why-header {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .crown-line,
    .ornate-line {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .footer-text {
        max-width: calc(100vw - 20px) !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

/* Policy page long text mobile optimization */
@media (max-width: 600px) {
    .policy-footer .footer-text {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        text-align: center !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .policy-footer .footer-text {
        font-size: 0.8rem !important;
        padding: 0 8px !important;
        line-height: 1.2 !important;
        word-spacing: -1px !important;
    }
}

@media (max-width: 375px) {
    .policy-footer .footer-text {
        font-size: 0.75rem !important;
        padding: 0 5px !important;
        word-spacing: -2px !important;
        letter-spacing: -0.2px !important;
    }
}

/* Modify banner-img-container, remove white borders on mobile devices */
@media (max-width: 768px) {
    .banner-img-container {
        width: 100% !important;
        max-width: 900px !important;
        margin: 0 auto 40px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        box-shadow: 0 0 0 1px #e2b13c, 0 0 0 5px rgba(226, 177, 60, 0.3), 0 10px 30px rgba(0, 0, 0, 0.5) !important;
        border: 4px solid #e6b800 !important;
        overflow: hidden !important;
        height: 350px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .banner-img-slider {
        width: 100% !important;
        height: 100% !important;
        border-radius: 5px !important;
        border: none !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .slider-img {
        object-fit: cover !important; /* 改回cover以保持与PC端一致 */
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
        visibility: visible !important;
        opacity: 0 !important;
    }
    
    .slider-img.active {
        opacity: 1 !important;
    }
}

@media (max-width: 600px) {
    .banner-img-container {
        height: 280px !important; /* 增加高度，确保图片显示完整 */
        margin: 0 auto 30px !important;
        width: 90% !important; /* 设置宽度为90%，两侧留有间距 */
    }
    
    .banner-img-slider {
        border: none !important;
    }
}

@media (max-width: 480px) {
    .banner-img-container {
        height: 220px !important; /* 调整小屏幕的高度 */
    }
}

/* Golden highlight flowing animation */
.casino-btn::after {
    content: '';
    position: absolute;
    left: -60%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,200,0.0) 0%, rgba(255,255,200,0.25) 50%, rgba(255,255,200,0.0) 100%);
    transform: skewX(-20deg);
    filter: blur(2px);
    animation: btn-shine 2.8s linear infinite;
    pointer-events: none;
    border-radius: 40px;
    z-index: 2;
}
@keyframes btn-shine {
    0% { left: -60%; }
    100% { left: 120%; }
}
