/* 
   PlayGaraj Official Landing Page Styles 
   Theme: Dark Mode (Charcoal/Amber) - "Gaming/Automotive"
*/

@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --primary-color: #FF6F00;
    /* Vivid Amber/Orange */
    --primary-hover: #E65100;
    --text-white: #FFFFFF;
    --text-gray: #B0BEC5;
    --border-color: #2C2C2C;

    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-speed: 0.3s;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(255, 111, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    margin-bottom: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Brand Name Styling */
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    /* Play is Bold */
    color: var(--primary-color);
    /* Play is Amber */
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo span {
    color: var(--text-white);
    /* Garaj is White */
    font-weight: 300;
    /* Garaj is Light */
}

.login-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.4);
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 30%, rgba(30, 30, 30, 0.5) 0%, rgba(18, 18, 18, 1) 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.08) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    /* Contrast against bright orange */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 111, 0, 0.5);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: #fff;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: #161616;
    /* Slight separation from main BG */
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 70px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(255, 111, 0, 0.1);
    margin: 0 auto 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 111, 0, 0.2);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting line design attempt - hidden on mobile */
.steps-container::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
    display: none;
}

@media(min-width: 992px) {
    .steps-container::before {
        display: block;
    }
}

.step-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 54px;
    height: 54px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    line-height: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 1.4rem;
    box-shadow: 0 0 20px rgba(255, 111, 0, 0.2);
}

.step-item h4 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #0d0d0d;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-info {
    max-width: 350px;
}

.footer-info h2 {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.footer-info h2 span {
    color: var(--primary-color);
}

.footer-links a {
    color: var(--text-gray);
    margin-left: 0;
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
    display: inline-block;
}

.social-icons a {
    color: var(--text-gray);
    font-size: 1.4rem;
    margin-right: 15px;
    display: inline-flex;
    width: 45px;
    height: 45px;
    line-height: 45px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 111, 0, 0.3);
}

.disclaimer {
    background: var(--bg-card);
    /* Lighter card bg for disclaimer */
    padding: 25px;
    border-radius: 8px;
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 40px;
    line-height: 1.6;
    border: 1px solid var(--border-color);
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        text-align: center;
    }
}

/* Blog Posts Section */
.blog-posts {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.blog-img-link {
    display: block;
    height: 200px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-card-content h3 a {
    color: var(--text-white);
}

.blog-card-content h3 a:hover {
    color: var(--primary-color);
}

.blog-card-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.blog-read-more:hover {
    color: var(--primary-hover);
    gap: 12px;
}

/* Skeleton Loader */
.skeleton {
    animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
    0% {
        background-color: var(--bg-card);
    }
    100% {
        background-color: #2a2a2a;
    }
}

.skeleton-img {
    width: 100%;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
}

.skeleton-title {
    height: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 4px;
    width: 80%;
}

.skeleton-text {
    height: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    border-radius: 4px;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
    margin-bottom: 20px;
}

.skeleton-btn {
    height: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: 100px;
    margin-top: auto;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }
}