/* ============================================
   Rollout Rally Press Kit Styles
   ============================================ */

:root {
    /* Rollout Rally Color Palette */
    --rr-primary: #FF6B35;        /* Vibrant Orange */
    --rr-secondary: #4ECDC4;      /* Turquoise */
    --rr-accent: #9B59B6;         /* Purple */
    --rr-accent-2: #E74C3C;       /* Red */
    --rr-bg-dark: #1a1a2e;        /* Dark Navy */
    --rr-bg-darker: #0f0f1e;      /* Darker Navy */
    --rr-text: #ffffff;
    --rr-text-muted: #b8b8d1;
    --rr-card-bg: rgba(255, 255, 255, 0.05);
    --rr-card-border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --rr-gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --rr-gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #556FB5 100%);
    --rr-gradient-accent: linear-gradient(135deg, #9B59B6 0%, #E74C3C 100%);
    --rr-gradient-bg: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 50%, #16213e 100%);
}

/* ============================================
   Press Kit Main Layout
   ============================================ */

.presskit-main {
    background: var(--rr-gradient-bg);
    color: var(--rr-text);
    min-height: 100vh;
    padding-top: 80px;
}

/* ============================================
   Breadcrumb Navigation
   ============================================ */

.breadcrumb-nav {
    background: rgba(15, 15, 30, 0.5);
    padding: 15px 0;
    border-bottom: 1px solid var(--rr-card-border);
    backdrop-filter: blur(10px);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    gap: 8px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--rr-text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 10px;
    color: var(--rr-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.breadcrumb a {
    color: var(--rr-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--rr-primary);
    text-decoration: underline;
}

.breadcrumb li:last-child {
    color: var(--rr-text);
    font-weight: 500;
}

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

/* ============================================
   Hero Section
   ============================================ */

.presskit-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 80px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15, 15, 30, 0.85) 0%, rgba(26, 26, 46, 0.95) 100%),
        url('assets/Rollout-Rally-Background.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(255, 107, 53, 0.6));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.presskit-hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin: 0 0 20px;
    background: var(--rr-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--rr-secondary);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-steam,
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-steam {
    background: var(--rr-gradient-primary);
    color: white;
}

.btn-steam:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-download {
    background: var(--rr-card-bg);
    color: var(--rr-text);
    border: 2px solid var(--rr-card-border);
}

.btn-download:hover {
    background: var(--rr-gradient-secondary);
    border-color: var(--rr-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

/* ============================================
   Section Styles
   ============================================ */

.presskit-container section {
    margin-bottom: 10px;
}

.presskit-container h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--rr-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--rr-text-muted);
    margin-bottom: 20px;
}

/* ============================================
   Factsheet
   ============================================ */

.description {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.description h2 {
    margin-bottom: 10px !important;
}

.description .section-subtitle {
    margin-bottom: 10px !important;
}

.description-content {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

.factsheet {
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.fact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fact-item strong {
    color: var(--rr-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.fact-item span {
    font-size: 1.1rem;
    color: var(--rr-text);
}

.fact-item a {
    color: var(--rr-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.fact-item a:hover {
    color: var(--rr-secondary);
}

/* ============================================
   Description
   ============================================ */

.description-content {
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.description-content .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--rr-text);
    margin-bottom: 25px;
    font-weight: 300;
}

.description-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--rr-text-muted);
    margin-bottom: 20px;
}

.description-content h3 {
    font-size: 1.8rem;
    color: var(--rr-secondary);
    margin: 40px 0 20px;
}

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

.features-list li {
    padding: 15px 0 15px 35px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--rr-text-muted);
    border-bottom: 1px solid var(--rr-card-border);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--rr-primary);
    font-size: 1.5rem;
    line-height: 1.7rem;
}

.features-list li strong {
    color: var(--rr-text);
}

/* Features Toggle */
.features-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.features-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--rr-gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.features-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.features-toggle-btn .arrow-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.features-toggle-btn.active .arrow-icon {
    transform: rotate(180deg);
}

/* ============================================
   Screenshots
   ============================================ */

.screenshots {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.screenshots h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.screenshots .section-subtitle {
    margin-bottom: 10px !important;
}

.screenshots-grid {
    padding-bottom: 20px;
}

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

.screenshot-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-item .placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--rr-text-muted);
    text-align: center;
    padding: 20px;
}

/* ============================================
   Videos
   ============================================ */

.videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 15px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-placeholder {
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}

.video-placeholder svg {
    color: var(--rr-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.video-placeholder p {
    font-size: 1.2rem;
    color: var(--rr-text);
    margin-bottom: 10px;
}

.video-placeholder small {
    color: var(--rr-text-muted);
}

/* ============================================
   Download Section
   ============================================ */

.download {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

.download h2 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.download .section-subtitle {
    margin-bottom: 10px !important;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 0;
    padding-bottom: 20px;
}

.download-card {
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--rr-primary);
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rr-gradient-primary);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.download-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--rr-text);
}

.download-card p {
    color: var(--rr-text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
}

.btn-download-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--rr-gradient-secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.btn-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.usage-notice {
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.usage-notice h3 {
    color: var(--rr-secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.usage-notice p {
    color: var(--rr-text-muted);
    line-height: 1.7;
}

/* ============================================
   Steam Widget
   ============================================ */

.steam-widget-section {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.steam-widget-section h2 {
    margin-top: 0;
    margin-bottom: 5px;
}

.steam-widget-section .section-subtitle {
    margin-bottom: 10px;
}

.steam-widget-container {
    max-width: 646px;
    margin: 0 auto 0 auto;
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 15px;
    overflow: hidden;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.steam-widget-container iframe {
    width: 100%;
    height: 190px;
    border: none;
    display: block;
}

/* ============================================
   Contact & Links
   ============================================ */

.contact-links {
    margin-top: 0;
    padding-top: 0;
}

.contact-links h2 {
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.contact-card {
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.contact-card h3 {
    color: var(--rr-secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--rr-text-muted);
    margin-bottom: 15px;
}

.contact-link {
    color: var(--rr-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--rr-secondary);
}

.social-links {
    text-align: center;
    background: var(--rr-card-bg);
    border: 1px solid var(--rr-card-border);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.social-links h3 {
    color: var(--rr-text);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rr-gradient-accent);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .presskit-main {
        padding-top: 60px;
    }

    .presskit-hero {
        min-height: 60vh;
        padding: 80px 20px 60px;
    }

    .hero-logo img {
        max-width: 280px;
    }

    .presskit-hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-steam,
    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .presskit-container {
        padding: 40px 15px;
    }

    .factsheet,
    .description-content {
        padding: 25px;
    }

    .fact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .steam-widget-container {
        padding: 15px;
    }

    .steam-widget-container iframe {
        height: 190px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 220px;
    }

    .presskit-hero h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .btn-steam,
    .btn-download {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .factsheet,
    .description-content,
    .usage-notice,
    .contact-card,
    .social-links {
        padding: 20px;
    }
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
    .presskit-hero,
    nav,
    footer,
    .hero-actions,
    .btn-download-link {
        display: none;
    }

    .presskit-main {
        background: white;
        color: black;
    }

    .presskit-container section {
        page-break-inside: avoid;
    }
}
