@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;500;700&family=Roboto+Condensed:wght@400;700&display=swap');

:root {
    --primary: #FF7F11; /* Energetic Orange */
    --accent: #2A9D8F;  /* Tactical Teal */
    --bg-dark: #0B0E14; /* Deep Gunmetal */
    --bg-card: #151A23; /* Lighter Gunmetal */
    --text-main: #E0E6ED;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Roboto Condensed', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(11,14,20,1)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.hero-content h1 span {
    color: var(--primary);
    display: block;
    font-size: 2rem;
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    color: #fff;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 20px auto;
}

/* History Section */
.history {
    position: relative;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-text h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.history-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

.stat-box {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: #fff;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.history-img {
    background: url('assets/tank.png');
    background-size: cover;
    background-position: center;
    height: 400px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
}

/* Game Modes */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s;
    transform-origin: bottom;
}

.mode-card:hover::before {
    transform: scaleY(1);
}

.mode-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-card i {
    color: var(--primary);
}

/* Vehicles */
.vehicles {
    background: linear-gradient(to bottom, var(--bg-dark), #10141d);
}

.vehicle-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
}

.vehicle-info {
    padding: 40px;
}

.vehicle-image {
    background: url('assets/plane.png');
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
}

/* Platforms */
.platforms {
    text-align: center;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 3rem;
    color: var(--text-muted);
    margin-top: 40px;
}

.platform-icons i {
    transition: color 0.3s, transform 0.3s;
}

.platform-icons i:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
    .history-grid, .vehicle-showcase {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .nav-links {
        display: none;
    }
}
