/* Gamopolis Modern Gaming Studio Style - Mobile First */

:root {
    --primary-color: #ff4655;
    --secondary-color: #00d9ff;
    --dark-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-glow: rgba(255, 70, 85, 0.3);
    --transition-speed: 0.3s;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1520 100%);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Modern Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(255, 70, 85, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-brand img {
    transition: transform var(--transition-speed);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-speed), left var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 4rem;
    text-align: center;
}

.hero-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(30, 30, 40, 0.6));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 70, 85, 0.3);
}

.hero-card img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    padding: 2rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--accent-glow);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Game Cards */
.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.4);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.game-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.game-card-text {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    background: linear-gradient(135deg, #ff6b7a, var(--primary-color));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-speed);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.feature-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Platform Icons */
.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.platform-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: all var(--transition-speed);
    text-decoration: none;
    color: var(--text-primary);
}

.platform-link:hover {
    background: rgba(255, 70, 85, 0.1);
    transform: translateX(5px);
    color: var(--text-primary);
}

.platform-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Team Cards */
.team-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.team-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.team-card .role {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 70, 85, 0.2);
}

footer a {
    color: var(--secondary-color);
    transition: color var(--transition-speed);
    text-decoration: none;
}

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

/* Dividers */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 2rem 0;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Table Styling */
.table-dark {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
}

.table-dark thead {
    background: linear-gradient(135deg, var(--primary-color), #ff6b7a);
}

.table-dark tbody tr {
    transition: background var(--transition-speed);
}

.table-dark tbody tr:hover {
    background: rgba(255, 70, 85, 0.1);
}

/* Utility Classes */
.text-glow {
    text-shadow: 0 0 10px var(--accent-glow);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 6rem 0 2rem;
    }

    .platform-links {
        flex-direction: column;
    }

    .platform-link {
        width: 100%;
    }

    .game-card img {
        height: 200px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .game-card img {
        height: 220px;
    }
}

/* Desktop Enhancements */
@media (min-width: 1025px) {
    .game-card img {
        height: 280px;
    }

    .container {
        max-width: 1200px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}
