/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Gentle Color Palette */
    --primary-red: #f472b6;
    --primary-gold: #fbbf24;
    --dark-red: #ec4899;
    --blood-red: #db2777;
    --steel-gray: #a7f3d0;
    --iron-gray: #d1fae5;
    --bronze: #fcd34d;
    --silver: #f3f4f6;
    
    /* Text Colors */
    --text-primary: #6b7280;
    --text-secondary: #9ca3af;
    --text-light: #d1d5db;
    --text-white: #ffffff;
    --text-gold: #fbbf24;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fdf2f8;
    --bg-dark: #f3e8ff;
    --bg-darker: #ede9fe;
    --bg-overlay: rgba(244, 114, 182, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-steel: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    --gradient-fire: linear-gradient(135deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%);
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(244, 114, 182, 0.1);
    --shadow-medium: 0 4px 20px rgba(244, 114, 182, 0.15);
    --shadow-heavy: 0 8px 30px rgba(244, 114, 182, 0.25);
    --shadow-glow: 0 0 20px rgba(251, 191, 36, 0.3);
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

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

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::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: var(--transition);
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-medium);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-red);
    z-index: 1000;
    transition: var(--transition);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
    font-family: 'Cinzel', serif;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-link {
    text-decoration: none;
    color: #3b82f6;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #3b82f6;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(244, 114, 182, 0.6) 0%, rgba(236, 72, 153, 0.7) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="bg"><stop offset="0%" stop-color="%23fde68a"/><stop offset="100%" stop-color="%23f472b6"/></radialGradient></defs><rect width="1000" height="1000" fill="url(%23bg)"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(212,175,55,0.3)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1" fill="rgba(212,175,55,0.3)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="70" r="1" fill="rgba(212,175,55,0.3)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle></svg>');
    animation: float 20s infinite linear;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 114, 182, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-gold);
}

.hero-title {
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(244, 114, 182, 0.3);
}

.title-main {
    display: block;
    font-size: 1em;
    color: var(--text-white);
}

.title-accent {
    display: block;
    font-size: 1.2em;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-white);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

/* Page Hero */
.page-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.page-hero:hover .hero-bg-image {
    transform: scale(1.05);
}

.page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.6) 0%, rgba(236, 72, 153, 0.7) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 600px;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(244, 114, 182, 0.1);
    border: 1px solid var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.feature-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.8) 0%, rgba(139, 0, 0, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.75rem;
    backdrop-filter: blur(10px);
}

.feature-content {
    padding: 2rem;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-stats span {
    background: rgba(244, 114, 182, 0.1);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Battle Showcase */
.battle-showcase {
    background: var(--bg-dark);
    color: var(--text-white);
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.battle-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.battle-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-gold);
}

.showcase-visual {
    position: relative;
}

.battle-frame {
    background: rgba(44, 62, 80, 0.8);
    border: 2px solid var(--primary-gold);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.battle-ui {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-element {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.health-bar {
    position: relative;
}

.health-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    opacity: 0.3;
}

.resources {
    display: flex;
    gap: 1rem;
}

.resource {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.news-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-red);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, rgba(244, 114, 182, 0.4));
}

.news-content {
    padding: 1.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-date {
    color: var(--text-light);
}

.news-category {
    color: var(--primary-red);
    font-weight: 600;
}

.news-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--dark-red);
}

/* CTA Section */
.cta {
    background: var(--gradient-steel);
    color: var(--text-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-text h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.4s; }
.fade-in:nth-child(4) { animation-delay: 0.6s; }

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

/* Game Page Specific Styles */
.gameplay-features {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.gameplay-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gameplay-item.reverse {
    direction: rtl;
}

.gameplay-item.reverse > * {
    direction: ltr;
}

.gameplay-visual {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.gameplay-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gameplay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gameplay-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.2) 0%, rgba(236, 72, 153, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gameplay-item:hover .gameplay-overlay {
    opacity: 1;
}

.battle-ui-demo,
.kingdom-ui-demo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ui-element {
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.ui-element i {
    color: var(--primary-gold);
}

.health-bar {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
}

.health-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    opacity: 0.3;
}

.resource-display {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
}

.resource {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
}

.building-progress {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(244, 114, 182, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    transition: width 2s ease;
}

.battle-effects {
    display: flex;
    gap: 1rem;
    align-self: flex-end;
}

.effect {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.fire-effect {
    background: radial-gradient(circle, #ff6b35 0%, #f7931e 50%, transparent 100%);
}

.smoke-effect {
    background: radial-gradient(circle, rgba(128,128,128,0.6) 0%, transparent 70%);
    animation-delay: 1s;
}

.feature-list {
    list-style: none;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.feature-list i {
    color: var(--primary-red);
}

/* Heroes Section */
.heroes {
    background: var(--bg-secondary);
}

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

.hero-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.hero-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-card:hover .hero-image img {
    transform: scale(1.05);
}

.hero-avatar {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.hero-avatar.warrior {
    background: var(--gradient-primary);
}

.hero-avatar.mage {
    background: var(--gradient-gold);
}

.hero-avatar.archer {
    background: var(--gradient-steel);
}

.hero-card:hover .hero-avatar {
    transform: translateX(-50%) translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.hero-info {
    padding: 4rem 1.5rem 1.5rem;
    text-align: center;
}

.hero-class {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-stats {
    margin-top: 1.5rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-bar {
    width: 60%;
    height: 6px;
    background: rgba(244, 114, 182, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Battle System */
.battle-system {
    background: var(--bg-dark);
    color: var(--text-white);
}

.battle-mechanics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.mechanic-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--primary-gold);
    color: var(--text-primary);
}

.mechanic-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--text-white);
}

/* Game Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mode-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.mode-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.mode-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--text-white);
}

.mode-features {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.mode-features span {
    background: rgba(244, 114, 182, 0.1);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Company Page Styles */
.company-overview {
    padding: 5rem 0;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.company-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.value-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-card {
    background: var(--gradient-steel);
    color: var(--text-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team-section {
    background: var(--bg-secondary);
}

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

.team-member {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.member-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    border: 4px solid var(--primary-gold);
}

.member-avatar.ceo {
    background: var(--gradient-primary);
}

.member-avatar.cto {
    background: var(--gradient-steel);
}

.member-avatar.designer {
    background: var(--gradient-gold);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 114, 182, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.member-image:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

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

.member-role {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Company Culture */
.company-culture {
    background: var(--bg-dark);
    color: var(--text-white);
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.culture-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-gold);
    font-weight: 600;
}

.culture-visual {
    position: relative;
}

.culture-image {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.company-culture:hover .culture-image img {
    transform: scale(1.05);
}

.culture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.1) 0%, rgba(236, 72, 153, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.company-culture:hover .culture-overlay {
    opacity: 1;
}

.culture-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: flex-start;
}

.stat-bubble {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease forwards;
}

.stat-bubble:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-bubble:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-bubble i {
    color: var(--primary-gold);
}

.culture-effects {
    display: flex;
    gap: 2rem;
    align-self: flex-end;
    align-items: flex-end;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(2) {
    animation-delay: 1s;
}

.floating-icon:nth-child(3) {
    animation-delay: 2s;
}

/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.tech-category h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tech-item {
    background: rgba(244, 114, 182, 0.1);
    color: var(--primary-red);
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
}

.tech-item:hover {
    background: var(--primary-red);
    color: var(--text-white);
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Office Locations */
.office-locations {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-item {
    border: 1px solid rgba(244, 114, 182, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.location-item:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-light);
}

.location-header {
    padding: 1rem;
    background: rgba(244, 114, 182, 0.05);
    border-bottom: 1px solid rgba(244, 114, 182, 0.1);
}

.location-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.location-content {
    padding: 1rem;
    background: var(--bg-primary);
}

.location-address,
.location-phone {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.location-address:last-child,
.location-phone:last-child {
    margin-bottom: 0;
}

.location-address i,
.location-phone i {
    color: var(--primary-red);
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.location-address span,
.location-phone span {
    line-height: 1.4;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--bg-secondary);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Careers Page Styles */
.why-join {
    background: var(--bg-secondary);
}

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

.benefit-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: var(--text-white);
}

/* Open Positions */
.positions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.position-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.position-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.position-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.position-meta span {
    color: var(--text-light);
}

.department {
    color: var(--primary-red) !important;
    font-weight: 600;
}

.position-level {
    background: var(--gradient-gold);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.position-skills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.skill {
    background: rgba(244, 114, 182, 0.1);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Application Process */
.application-process {
    background: var(--bg-secondary);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Careers Contact */
.careers-contact {
    background: var(--bg-dark);
    color: var(--text-white);
}

.careers-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--primary-gold);
    color: var(--text-primary);
}

.careers-form h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 16px;
    border: 2px dashed var(--primary-gold);
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    cursor: pointer;
    transition: var(--transition);
}

.file-upload label:hover {
    background: rgba(212, 175, 55, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .showcase-content,
    .overview-content,
    .culture-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gameplay-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gameplay-item.reverse {
        direction: ltr;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-heavy);
        padding: 2rem 0;
        border-top: 2px solid var(--primary-red);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Mobile */
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 250px;
    }
    
    /* Sections Mobile */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Cards Mobile */
    .feature-card,
    .news-card,
    .hero-card,
    .benefit-card,
    .position-card {
        padding: 1.5rem;
    }
    
    .position-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .position-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .culture-highlights {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .feature-icon,
    .benefit-icon,
    .mode-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Animation Keyframes */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.7; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1; 
    }
}

@keyframes battle {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

@keyframes build {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes office {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* AOS Animation Support */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(244, 114, 182, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 50%; }

.shadow-sm { box-shadow: var(--shadow-light); }
.shadow-md { box-shadow: var(--shadow-medium); }
.shadow-lg { box-shadow: var(--shadow-heavy); }