@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Color Palette */
    --ins-bg-dark: #0a0a0a;
    --ins-bg-darker: #050505;
    --ins-bg-card: #111111;

    --ins-primary: #1a472a;
    /* Mystical Green */
    --ins-primary-glow: rgba(26, 71, 42, 0.6);

    --ins-accent-purple: #5d3fd3;
    /* Mystical Purple */
    --ins-accent-purple-glow: rgba(93, 63, 211, 0.5);

    --ins-gold: #d4af37;
    /* Soft Gold */
    --ins-gold-dim: #b8962e;

    --ins-text-main: #e0e0e0;
    --ins-text-muted: #a0a0a0;

    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glow-text: 0 0 10px rgba(212, 175, 55, 0.3);
    --glow-box: 0 0 20px rgba(26, 71, 42, 0.2);
}

body {
    background-color: var(--ins-bg-dark);
    color: var(--ins-text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--ins-text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Override Template Styles */
.header-1 {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mean__menu-wrapper .main-menu ul li a {
    font-family: var(--font-heading);
    color: var(--ins-text-main);
    font-weight: 500;
    font-size: 14px;
}

.mean__menu-wrapper .main-menu ul li:hover>a {
    color: var(--ins-gold);
    text-shadow: var(--glow-text);
}

.gt-theme-btn {
    background: linear-gradient(45deg, var(--ins-primary), #2a6ed4);
    background-size: 200% auto;
    border: 1px solid var(--ins-primary);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.gt-theme-btn:hover {
    background-position: right center;
    box-shadow: 0 0 20px var(--ins-primary-glow);
}

/* Custom Utilities */
.text-gold {
    color: var(--ins-gold) !important;
}

.text-purple {
    color: var(--ins-accent-purple) !important;
}

.bg-dark-ins {
    background-color: var(--ins-bg-darker) !important;
}

/* Custom Background Texture */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/custom/texture_runes.png');
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* Preloader customization */
#preloader {
    background-color: var(--ins-bg-dark);
}

.txt-loading span {
    color: var(--ins-gold);
    -webkit-text-stroke: 0px !important;
}

/* Fix Game Section Image Clarity */
.gt-game-bg-section::before {
    display: none !important;
    background: none !important;
}

.gt-game-bg-section {
    position: relative !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    /* Attempt to sharpen rendering if browser supports */
    image-rendering: -webkit-optimize-contrast;
}

/* Remove text shape overlay if it interferes */
.gt-game-bg-section .text-shape {
    display: none !important;
}
/* Modern Typography - Import Inter font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Hero section text improvements */
.hero-content p {
    text-transform: none !important;
    font-family: "Inter", "Segoe UI", sans-serif !important;
}


/* Global Typography Fixes - Remove forced uppercase for better readability */
body {
    text-transform: none !important;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}

p, .gt-about-text, .gt-footer-content p, .footer-nav a {
    text-transform: none !important;
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Hero Animation - Scale + Fade Effect */
@keyframes heroScaleFade {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content h6,
.hero-content h1,
.hero-content p,
.hero-content .gt-hero-button {
    animation: heroScaleFade 1s ease-out forwards !important;
    transform: none !important;
}

.hero-content h6 { animation-delay: 0.2s !important; opacity: 0; }
.hero-content h1 { animation-delay: 0.4s !important; opacity: 0; }
.hero-content p { animation-delay: 0.6s !important; opacity: 0; }
.hero-content .gt-hero-button { animation-delay: 0.8s !important; opacity: 0; }

/* Disable WOW slide animations in hero */
.hero-content [class*="fadeInUp"],
.hero-content [class*="slideIn"] {
    animation-name: heroScaleFade !important;
}

/* Enhanced 3D Text Shadows - Banner/Hero */
.hero-content h1 {
    text-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(93, 63, 211, 0.6),
        0 0 80px rgba(93, 63, 211, 0.3) !important;
}

.hero-content h6 {
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(255, 215, 0, 0.4) !important;
}

.hero-content p {
    text-shadow: 
        2px 2px 6px rgba(0, 0, 0, 0.95),
        0 0 15px rgba(0, 0, 0, 0.8) !important;
}

/* Enhanced 3D Text Shadows - About Section (Mage/Archer area) */
.gt-about-section .gt-section-title h6,
.gt-about-section .gt-section-title h2,
.gt-about-section .tx-title {
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 25px rgba(93, 63, 211, 0.5) !important;
}

.gt-about-section .gt-about-text,
.gt-about-section p {
    text-shadow: 
        2px 2px 5px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.7) !important;
}

/* About Box items */
.gt-about-box h5,
.gt-about-box .content h5 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

/* Game Section Text */
.gt-games-content h6,
.gt-games-content h2,
.gt-games-content p {
    text-shadow: 
        3px 3px 8px rgba(0, 0, 0, 0.95),
        0 0 30px rgba(0, 0, 0, 0.8) !important;
}

/* Video Section Text */
.gt-video-section h6,
.gt-video-section h2 {
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(93, 63, 211, 0.4) !important;
}

/* Remove Video Wrapper Background/Gradient */
.gt-video-wrapper::before {
    display: none !important;
    background: none !important;
}

.gt-video-section {
    background: transparent !important;
}

.gt-video-wrapper {
    background: transparent !important;
    padding: 0 !important;
}
