/* ===========================================
   Base Styles & Variables
   =========================================== */
:root {
    --primary-dark: #1A0F07;
    --primary-brown: #3D2314;
    --primary-gold: #D4AF37;
    --primary-orange: #FF8C42;
    --light-text: #F5F5F5;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --magic-glow: rgba(255, 215, 0, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-brown) 100%);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    display: inline-block;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-gold), transparent);
}

/* ===========================================
   Header - Modern Redesign
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 8, 2, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    padding: 0 25px;
    height: 70px;
}

/* Logo Styles */
.header .logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    height: 100%;
    padding: 5px 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.header .logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.header .logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 2px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Navigation Links Styling */
.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:not(.google-play-btn):hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Google Play Button in Header */
.google-play-btn {
    display: flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.google-play-btn i {
    font-size: 1.5rem;
    margin-right: 8px;
}

.google-play-btn .btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.google-play-btn .btn-text span:first-child {
    font-size: 0.7rem;
    opacity: 0.8;
}

.google-play-btn .btn-text span:last-child {
    font-size: 1rem;
    font-weight: 700;
}

.google-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #1a1a1a;
}

/* Mobile Menu Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header .container {
        padding: 0 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        padding: 6px 10px;
        font-size: 0.95rem;
    }
}

/* Header Scroll Effect */
.header.scrolled {
    padding: 8px 0;
    background: rgba(26, 15, 7, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.header.scrolled .logo img {
    height: 38px;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #0f0802;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px 30px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .desktop-only {
        display: none;
    }
    
    .google-play-btn {
        margin-top: 20px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header .logo {
        font-size: 1.4rem;
    }
    
    .header .logo img {
        width: 42px;
        height: 42px;
    }
    
    .nav-links {
        width: 90%;
    }
}

.header .logo::before {
    content: '';
    position: absolute;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-gold), transparent);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
    opacity: 0.3;
    filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .logo:hover::before {
    opacity: 0.5;
    transform: translateY(-50%) scale(1.1);
}

.header .logo span {
    position: relative;
    background: linear-gradient(45deg, #fff, #e6e6e6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .logo:hover span {
    background: linear-gradient(45deg, var(--primary-gold), #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===========================================
   Hero Section - Magical Redesign
   =========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #0f0802 0%, #1f1209 100%);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(15, 8, 2, 0.9) 0%, rgba(31, 18, 9, 0.9) 100%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 3;
    animation: fadeInUp 1s ease-out 0.3s both;
}

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

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #fff, #e6e6e6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0802 0%, #1a1007 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 100%;
    padding-right: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 100%;
}

.hero-image {
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    perspective: 1000px;
    text-align: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

.hero-image img {
    max-width: 70%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-image:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 80%;
        padding: 0;
        margin: 0 auto;
    }
    
    .hero p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 70%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 50px;
    }
    
    .hero .container {
        gap: 30px;
    }
    
    .hero-content {
        max-width: 90%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-image {
        max-width: 85%;
    }
    
    .hero-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 0 40px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-image {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-image img {
        max-width: 100%;
        border-radius: 15px;
    }
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    filter: blur(40px);
    opacity: 0.2;
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.05); opacity: 0.3; }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: pulse-glow 8s infinite ease-in-out;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    padding: 40px 0;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.magic-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-gold));
    padding: 10px;
    box-shadow: 0 0 50px var(--magic-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s infinite ease-in-out, glow 4s infinite alternate;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.magic-logo::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), transparent, var(--primary-gold));
    z-index: -1;
    opacity: 0.7;
    animation: rotate 20s infinite linear;
}

.magic-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(1.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, var(--primary-orange), var(--primary-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(255, 140, 66, 0.5);
    animation: text-shimmer 3s infinite alternate;
}

.hero p {
    font-size: 1.3rem;
    margin: 0 auto 50px;
    max-width: 700px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-gold));
    color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

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

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

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

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.7s ease;
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.google-play-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000, #333);
    z-index: -1;
    transition: all 0.3s ease;
}

.google-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

.google-play-btn:hover::before {
    background: linear-gradient(45deg, #1a73e8, #0d47a1);
}

.google-play-btn i {
    font-size: 1.8rem;
    margin-right: 12px;
    color: #fff;
}

.google-play-btn .text {
    text-align: left;
    line-height: 1.2;
}

.google-play-btn .small-text {
    font-size: 0.7rem;
    display: block;
    opacity: 0.8;
    font-weight: 400;
}

.google-play-btn .large-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 5px 0;
    margin: 0 auto 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--primary-gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.arrow {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    transform: rotate(45deg);
    margin: 0 auto;
    animation: arrowDown 2s infinite;
}

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

@keyframes arrowDown {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(10px); }
}
.google-play-btn {
    background: #000;
    color: #fff;
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.google-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.google-play-btn i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.google-play-btn .text {
    text-align: left;
    line-height: 1.2;
}

.google-play-btn .small-text {
    font-size: 0.7rem;
    display: block;
    opacity: 0.8;
}

.google-play-btn .large-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===========================================
   Animations
   =========================================== */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes glow {
    0%, 100% { 
        box-shadow: 0 0 30px var(--magic-glow), 
                    0 0 50px rgba(212, 175, 55, 0.2); 
    }
    50% { 
        box-shadow: 0 0 60px var(--magic-glow), 
                   0 0 80px rgba(212, 175, 55, 0.4); 
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes text-shimmer {
    0% { 
        background-position: -100% 0; 
    }
    100% { 
        background-position: 100% 0; 
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes float-particle {
    0% { 
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.7; 
    }
    25% { 
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.9; 
    }
    50% { 
        transform: translateY(-40px) translateX(-10px) rotate(180deg);
        opacity: 0.7; 
    }
    75% { 
        transform: translateY(-20px) translateX(10px) rotate(270deg);
        opacity: 0.9; 
    }
    100% { 
        transform: translateY(0) translateX(0) rotate(360deg);
        opacity: 0.7; 
    }
}

/* ===========================================
   Base Styles
   =========================================== */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes glow {
    0% { box-shadow: 0 0 30px var(--magic-glow); }
    100% { box-shadow: 0 0 60px var(--magic-glow); }
}

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

@keyframes text-shimmer {
    0% { background-position: -500px; }
    100% { background-position: 500px; }
}

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

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .magic-logo {
        width: 150px;
        height: 150px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .magic-logo {
        width: 120px;
        height: 120px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* ===========================================
   Animations
   =========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Feature Card Hover Effect */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Button Hover Effects */
.btn, .google-play-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after, .google-play-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::after, .google-play-btn:hover::after {
    transform: translateX(100%);
}

/* Social Icons Hover */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Image Hover Effect */
.screenshot-item img {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.screenshot-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Quote Animation */
.quote {
    position: relative;
}

.quote i:first-child {
    position: absolute;
    top: -10px;
    left: -20px;
    font-size: 4rem;
    opacity: 0.1;
    z-index: -1;
}

.quote i:last-child {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 4rem;
    opacity: 0.1;
    z-index: -1;
}

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

/* ===========================================
   Responsive Design
   =========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
}

/* ===========================================
   Founder Section
   =========================================== */
.founder-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0802 0%, #1a1007 100%);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,5 70,10 L70,20 Q50,15 30,20 Z" fill="rgba(212, 175, 55, 0.1)" /></svg>');
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.founder-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), transparent);
    border-radius: 3px;
}

.section-title p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-top: 15px;
    position: relative;
    display: inline-block;
}

.section-title p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
    opacity: 0.6;
}

.founder-image {
    flex: 0 0 300px;
    text-align: center;
    position: relative;
    z-index: 1;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.05); opacity: 0.8; }
}

.founder-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 50px rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    background: #fff; /* Ensure the image has a solid background */
    padding: 3px; /* Add some padding to prevent content from touching the border */
}

.founder-image::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.founder-image:hover img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 
                0 0 80px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Floating elements around the image */
.floating-elements {
    position: absolute;
    width: 300px;  /* Match image width */
    height: 300px; /* Match image height */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 3;
    border-radius: 50%;
}

.floating-element {
    position: absolute;
    color: var(--primary-gold);
    font-size: 1.5rem;
    opacity: 0.8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: orbit 15s linear infinite;
    transform-origin: center;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

.floating-1 { 
    animation-delay: 0s;
    animation-duration: 15s;
}

.floating-2 { 
    animation-delay: -5s; /* Start at different positions */
    animation-duration: 18s;
}

.floating-3 { 
    animation-delay: -10s;
    animation-duration: 12s;
}

/* Adjust the orbit size for different screen sizes */
@media (max-width: 768px) {
    .floating-elements {
        width: 250px;
        height: 250px;
    }
    
    @keyframes orbit {
        0% {
            transform: rotate(0deg) translateX(125px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(125px) rotate(-360deg);
        }
    }
}

.founder-content {
    flex: 1;
    color: #fff;
    padding: 20px 0;
    position: relative;
}

.founder-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -30px;
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
    z-index: 0;
}

.founder-content h3 {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.founder-title {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-left: 15px;
    letter-spacing: 1px;
}

.founder-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 3px;
}

.founder-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    max-width: 90%;
    padding-left: 20px;
    border-left: 2px solid rgba(212, 175, 55, 0.2);
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
    position: relative;
    z-index: 1;
}

.credential {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 175, 55, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.credential:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border-color: rgba(212, 175, 55, 0.3);
}

.credential i {
    color: var(--primary-gold);
    font-size: 1rem;
}

.founder-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--primary-gold);
    padding: 20px 25px;
    margin: 35px 0 0;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.05), transparent);
    border-radius: 0 8px 8px 0;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 90%;
    font-family: 'Playfair Display', serif;
    position: relative;
    overflow: hidden;
}

.founder-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: rgba(212, 175, 55, 0.1);
    line-height: 1;
    z-index: 0;
}

.founder-quote p {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Gold Animated Contact Cards */
.founder-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.contact-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    z-index: -1;
    transition: all 0.4s ease;
    opacity: 0;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-gold);
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-right: 12px;
    width: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-link:hover i {
    transform: scale(1.2);
    color: #fff;
}

/* Animation for cards */
.contact-link:nth-child(1) { animation: slideInLeft 0.5s ease-out; }
.contact-link:nth-child(2) { 
    animation: slideInLeft 0.7s ease-out;
    animation-fill-mode: both;
}
.contact-link:nth-child(3) { 
    animation: slideInLeft 0.9s ease-out;
    animation-fill-mode: both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Glow effect on hover */
.contact-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
    z-index: -1;
}

.contact-link:hover::after {
    transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-image {
        margin-bottom: 20px;
    }
    
    .founder-credentials {
        justify-content: center;
    }
    
    .founder-quote {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .founder-section {
        padding: 60px 0;
    }
    
    .founder-content h3 {
        font-size: 1.8rem;
    }
    
    .founder-description {
        font-size: 1rem;
    }
    
    .credential {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}
