/* ----------------------------------------------------
 * Theme: Bol Köpüklü Custom Styles
 * ---------------------------------------------------- */

/* --- Design Tokens & CSS Variables --- */
:root {
    --bg-dark: #090503;
    --bg-card: rgba(23, 14, 10, 0.75);
    --primary-gold: #d4af37;
    --primary-gold-rgb: 212, 175, 55;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --gold-light: #f3e5ab;
    --coffee-cream: #f5ebe0;
    --coffee-muted: #a68a78;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --glass-border: rgba(212, 175, 55, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- Base & Reset Rules --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--coffee-cream);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: var(--coffee-cream);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--primary-gold);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header Section --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 5, 3, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-logo {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 0 10px var(--gold-glow);
}

.site-title-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #000 !important;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth) !important;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.nav-btn::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(9, 5, 3, 0.7), rgba(9, 5, 3, 0.95)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: var(--coffee-cream);
    display: block;
    font-size: 1.8rem;
    font-family: var(--font-body);
    font-weight: 300;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--coffee-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-store-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(23, 14, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 12px 24px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hero-store-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.hero-store-btn:hover::before {
    opacity: 1;
}

.hero-store-btn:hover {
    transform: translateY(-4px);
}

/* Apple Button Custom Styles */
.hero-store-btn.apple {
    border-color: rgba(255, 255, 255, 0.15);
}
.hero-store-btn.apple:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}
.hero-store-btn.apple .store-icon {
    color: #ffffff;
}

/* Google Button Custom Styles */
.hero-store-btn.google {
    border-color: rgba(60, 186, 84, 0.15);
}
.hero-store-btn.google:hover {
    border-color: #3cba54;
    box-shadow: 0 10px 25px rgba(60, 186, 84, 0.2);
    background: rgba(60, 186, 84, 0.04);
}
.hero-store-btn.google .store-icon {
    color: #3cba54;
}

/* Huawei Button Custom Styles */
.hero-store-btn.huawei {
    border-color: rgba(239, 4, 37, 0.15);
}
.hero-store-btn.huawei:hover {
    border-color: #ef0425;
    box-shadow: 0 10px 25px rgba(239, 4, 37, 0.2);
    background: rgba(239, 4, 37, 0.04);
}
.hero-store-btn.huawei .store-icon {
    color: #ef0425;
}

.store-icon {
    font-size: 1.8rem;
    transition: var(--transition-smooth);
}

.hero-store-btn:hover .store-icon {
    transform: scale(1.1);
}

.store-text-wrapper {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.store-subtext {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--coffee-muted);
    letter-spacing: 1px;
}

.store-maintext {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- FontAwesome Icon Styles for Steps and Features --- */
.step-icon-fa {
    font-size: 2.5rem;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.step-card:hover .step-icon-fa {
    transform: scale(1.15) rotate(-5deg);
    color: var(--gold-light);
    filter: drop-shadow(0 0 10px var(--gold-glow));
}

.feature-icon-fa {
    font-size: 1.8rem;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-fa {
    transform: scale(1.1) rotate(5deg);
    color: var(--gold-light);
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.search-icon-fa-dict {
    font-size: 1.2rem;
    color: var(--coffee-muted);
    margin-right: 16px;
    transition: var(--transition-smooth);
}

.dict-search-box:focus-within .search-icon-fa-dict {
    color: var(--primary-gold);
}

.testi-stars i {
    color: var(--primary-gold);
    margin-right: 4px;
    font-size: 0.9rem;
}

/* Mockup Display */
.hero-mockup-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup {
    position: relative;
    width: 290px;
    height: 580px;
    background: #000;
    border: 10px solid #222;
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px var(--gold-glow);
    overflow: hidden;
}

.hero-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 10;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: url('../images/logo.png') no-repeat center center/cover;
    transition: var(--transition-smooth);
}

.mockup-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold-glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: float-glowing 6s ease-in-out infinite;
}

/* --- How It Works --- */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    border-radius: 2px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px var(--gold-glow);
}

.step-icon-wrapper {
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.step-icon-svg {
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.step-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.step-card p {
    color: var(--coffee-muted);
    font-size: 0.95rem;
}

/* --- Features Section --- */
.features-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #150d0a 50%, var(--bg-dark) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    margin-bottom: 24px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.feature-icon-svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--coffee-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Interactive Fortune Simulator --- */
.fortune-simulator-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px 40px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
}

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

.sim-instructions {
    color: var(--coffee-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.cup-stage {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-bottom: 30px;
}

.sim-cup-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
    animation: gentle-bob 4s ease-in-out infinite;
}

.cup-stage:hover .sim-cup-img {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 15px 30px var(--gold-glow));
}

.cup-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    transition: var(--transition-smooth);
}

.cup-stage:hover .cup-glow {
    transform: scale(1.3);
    background: radial-gradient(circle, rgba(212,175,55,0.4) 0%, rgba(0,0,0,0) 70%);
}

.sim-btn {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #000;
    border: none;
    padding: 16px 40px;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px var(--gold-glow);
    transition: var(--transition-smooth);
}

.sim-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.sim-btn:disabled {
    background: #4a3e35;
    color: #887467;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading/Fortune Result Overlay */
.fortune-result-box {
    margin-top: 40px;
    padding: 30px;
    border-radius: 20px;
    border: 1px dashed var(--primary-gold);
    background: rgba(9, 5, 3, 0.5);
    max-width: 600px;
    width: 100%;
    display: none;
    animation: fadeIn 0.6s ease;
}

.result-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.result-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--coffee-cream);
}

.fortune-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loader-text {
    font-size: 1rem;
    color: var(--coffee-muted);
    font-style: italic;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testi-stars {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.testi-content {
    font-style: italic;
    color: var(--coffee-cream);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--primary-gold);
    background: #2c1b12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-gold);
}

.user-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--coffee-cream);
    font-weight: 600;
}

.user-info span {
    font-size: 0.8rem;
    color: var(--coffee-muted);
}

/* --- Download Section --- */
.download-section {
    background: linear-gradient(rgba(9, 5, 3, 0.85), rgba(9, 5, 3, 0.95)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.download-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 80px 48px;
    backdrop-filter: blur(15px);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
}

.download-content h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.download-content p {
    color: var(--coffee-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.download-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.qr-box {
    background: #fff;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.qr-code {
    width: 150px;
    height: 150px;
}

.qr-label {
    color: #000;
    font-weight: 600;
    font-size: 0.8rem;
    margin-top: 8px;
    font-family: var(--font-body);
}

/* --- Footer Area --- */
.site-footer {
    background: #060302;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
    margin-bottom: 16px;
}

.footer-brand-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.footer-brand-desc {
    color: var(--coffee-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--coffee-cream);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: #000;
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--coffee-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 5px;
}

.footer-info-text {
    color: var(--coffee-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-email {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-title-spacing {
    margin-top: 30px;
}

.footer-download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-store-link {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.footer-store-link:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(3px);
}

.footer-divider {
    border: 0;
    height: 1px;
    background: rgba(212, 175, 55, 0.1);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: var(--coffee-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: var(--coffee-muted);
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom-links .bullet {
    color: var(--coffee-muted);
}

/* --- Dictionary Section --- */
.dict-search-wrapper {
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.dict-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.dict-search-box:focus-within {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px var(--gold-glow);
}

.search-icon-svg {
    width: 24px;
    height: 24px;
    fill: var(--coffee-muted);
    margin-right: 16px;
    transition: var(--transition-smooth);
}

.dict-search-box:focus-within .search-icon-svg {
    fill: var(--primary-gold);
}

#dict-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--coffee-cream);
    font-family: var(--font-body);
    font-size: 1.05rem;
}

#dict-search-input::placeholder {
    color: var(--coffee-muted);
}

.dict-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dict-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dict-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dict-card.hidden {
    display: none;
}

.dict-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dict-emoji {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.dict-card-header h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-gold);
    line-height: 1.4;
}

.dict-desc {
    color: var(--coffee-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.dict-no-results {
    display: none;
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--glass-border);
    border-radius: 20px;
    font-size: 1.1rem;
    color: var(--coffee-muted);
}

/* --- Animations --- */
@keyframes float-glowing {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(10px, -20px) scale(1.15);
        opacity: 1;
    }
}

@keyframes gentle-bob {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

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

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

/* --- Page Template Custom Styling --- */
.page-template-main {
    background-color: var(--bg-dark);
    color: var(--coffee-cream);
    padding-top: 80px; /* offset for fixed header */
    min-height: 80vh;
}

.page-hero-banner {
    background: linear-gradient(180deg, #150d0a 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    font-family: var(--font-heading);
}

.page-content-wrapper {
    padding: 60px 0;
}

.page-article {
    max-width: 850px;
    margin: 0 auto;
}

.entry-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--coffee-cream);
    margin-bottom: 24px;
}

.entry-content h2, 
.entry-content h3 {
    color: var(--primary-gold);
    margin: 40px 0 20px 0;
    font-family: var(--font-heading);
}

.entry-content h2 {
    font-size: 1.8rem;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
    padding-bottom: 8px;
}

.entry-content h3 {
    font-size: 1.4rem;
}

.entry-content ul, 
.entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.entry-content li {
    font-size: 1rem;
    color: var(--coffee-cream);
    margin-bottom: 10px;
    line-height: 1.7;
}

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: rgba(18, 11, 8, 0.95);
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 20px var(--gold-glow);
    z-index: 9999;
    backdrop-filter: blur(15px);
    display: none;
    animation: fadeIn 0.5s ease;
    margin: 0 auto;
}

.cookie-content-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--coffee-cream);
}

.cookie-text a {
    color: var(--primary-gold);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-btn-group {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #000;
    border: none;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--coffee-muted);
    border: 1px solid rgba(166, 138, 120, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cookie-btn-decline:hover {
    color: var(--coffee-cream);
    border-color: var(--coffee-cream);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dict-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-wrapper {
        grid-template-columns: 1fr;
        padding: 50px 30px;
    }
    
    .download-grid {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation menu toggle mechanics */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #090503;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
        padding: 100px 30px 40px 30px;
        transition: var(--transition-smooth);
        z-index: 1000;
    }
    
    .nav-menu-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
    }
    
    .nav-cta {
        margin-top: 20px;
        width: 100%;
    }
    
    .nav-btn {
        text-align: center;
    }
    
    /* Menu Active Icon styling */
    .menu-toggle.active .bar-1 {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active .bar-2 {
        opacity: 0;
    }
    
    .menu-toggle.active .bar-3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero layout */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 30px auto;
    }
    
    .hero-badge-container {
        justify-content: center;
    }
    
    .hero-mockup {
        width: 250px;
        height: 500px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .dict-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .download-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
