/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color palette from splash.png */
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --gold-primary: #d4af37;
    --gold-light: #f4d03f;
    --gold-dark: #b8941f;
    --green-card: #2d5016;
    --green-card-light: #3d6a20;
    --parchment: #d4c5a9;
    --parchment-dark: #b8a88a;
    --silver: #c0c0c0;
    --silver-dark: #a0a0a0;
    --text-light: #f8f8f8;
    --text-dark: #1a1a1a;
    --overlay-dark: rgba(26, 26, 26, 0.85);
    --overlay-light: rgba(26, 26, 26, 0.6);
}

body {
    font-family: 'Cinzel', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(45, 80, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    gap: 5px;
    background: rgba(26, 26, 26, 0.9);
    padding: 5px;
    border-radius: 8px;
    border: 1px solid var(--gold-primary);
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.lang-btn:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-light);
}

.lang-btn.active {
    background: var(--gold-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Header and Navigation */
header {
    background: rgba(26, 26, 26, 0.95);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px var(--gold-primary));
    transition: transform 0.3s ease;
}

.header-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo {
    color: var(--gold-primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(212, 175, 55, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(212, 175, 55, 0.3);
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--gold-primary);
}

.nav-links a:hover {
    color: var(--gold-light);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: 
        linear-gradient(var(--overlay-dark), var(--overlay-light)),
        url('images/splash.png');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(26, 26, 26, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-primary);
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.8),
        0 0 40px rgba(212, 175, 55, 0.5),
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(212, 175, 55, 0.3);
    letter-spacing: 4px;
    font-family: 'Cinzel', serif;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 20px rgba(212, 175, 55, 0.8),
            0 0 40px rgba(212, 175, 55, 0.5),
            3px 3px 6px rgba(0, 0, 0, 0.9),
            0 0 60px rgba(212, 175, 55, 0.3);
    }
    to {
        text-shadow: 
            0 0 30px rgba(244, 208, 63, 1),
            0 0 60px rgba(244, 208, 63, 0.7),
            3px 3px 6px rgba(0, 0, 0, 0.9),
            0 0 90px rgba(244, 208, 63, 0.5);
    }
}

.hero-tagline {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* App Store Buttons */
.app-store-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(212, 175, 55, 0.4),
        0 0 20px rgba(212, 175, 55, 0.2);
    border: 2px solid var(--gold-dark);
    position: relative;
    overflow: hidden;
}

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

.app-store-btn:hover::before {
    left: 100%;
}

.app-store-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 25px rgba(212, 175, 55, 0.6),
        0 0 30px rgba(212, 175, 55, 0.4);
}

.app-store-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-store-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-store-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.app-store-badge-img {
    height: 60px !important;
    width: auto;
    max-width: none;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.app-store-btn.ios-btn,
.app-store-btn.android-btn {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    line-height: 0;
}

.app-store-btn.ios-btn img,
.app-store-btn.android-btn img {
    display: block;
    height: 60px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}

.app-store-btn.ios-btn:hover,
.app-store-btn.android-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

.app-store-btn.ios-btn::before,
.app-store-btn.android-btn::before {
    display: none;
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gold-primary);
    text-shadow: 
        0 0 15px rgba(212, 175, 55, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    box-shadow: 0 0 10px var(--gold-primary);
}

/* Features Section */
.features {
    background: 
        linear-gradient(180deg, var(--bg-dark) 0%, rgba(45, 80, 22, 0.1) 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(212, 196, 169, 0.1), rgba(184, 168, 138, 0.05));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--gold-primary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.3),
        inset 0 0 30px rgba(212, 175, 55, 0.15);
    border-color: var(--gold-light);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px var(--gold-primary));
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    background: 
        linear-gradient(180deg, rgba(45, 80, 22, 0.1) 0%, var(--bg-dark) 100%);
}

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

.screenshot-item {
    background: linear-gradient(135deg, rgba(212, 196, 169, 0.15), rgba(184, 168, 138, 0.1));
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--gold-primary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    text-align: center;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.3);
    border-color: var(--gold-light);
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid var(--gold-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-caption {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var(--gold-light);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* About Section */
.about {
    background: var(--bg-dark);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(212, 196, 169, 0.1), rgba(184, 168, 138, 0.05));
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--gold-primary);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(212, 175, 55, 0.1);
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
}

.disclaimer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.disclaimer p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--parchment);
    text-align: left;
    font-style: italic;
}

.disclaimer strong {
    color: var(--gold-light);
    font-style: normal;
}

/* Footer */
footer {
    background: var(--bg-darker);
    color: var(--text-light);
    padding: 4rem 2rem 2rem;
    border-top: 2px solid var(--gold-primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--gold-light);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-app-btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.footer-app-badge-img {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
    display: block;
    object-fit: contain;
}

.footer-app-btn.ios-btn img,
.footer-app-btn.android-btn img {
    height: 45px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain;
}

.footer-app-btn.ios-btn,
.footer-app-btn.android-btn {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.footer-app-btn.ios-btn:hover,
.footer-app-btn.android-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--parchment);
}

.footer-disclaimer {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--parchment-dark);
    font-style: italic;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .app-store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
    
    .language-toggle {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .app-store-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .app-store-icon {
        width: 28px;
        height: 28px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
