/* -----------------------------
   Base / Reset
   ----------------------------- */
:root {
    --bg: #0a0a0a;
    --bg-alt: #1a1a1a;
    --accent: #667eea;
    --accent-2: #66a0ff;
    --text: #e0e0e0;
    --muted: #888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Improve readability of inline/inline-block anchors (don't override bootstrap buttons) */
a:not(.btn),
a:not(.btn):visited {
    color: var(--accent-2);
    text-decoration: underline;
}

a:not(.btn):focus,
a:not(.btn):hover {
    color: #9fb1ff;
    text-decoration: underline;
}

/* Make sure social links are visually muted by default */
.social-links a {
    color: var(--muted);
}

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

/* -----------------------------
   Layout / Header
   ----------------------------- */
header {
    text-align: center;
    padding: 80px 20px 40px;
    /* slightly larger top padding for visual balance */
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 1px solid #2a2a2a;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.subtitle {
    font-size: 1.1rem;
    color: #888;
    font-weight: 300;
}

/* container width and padding optimized for readability */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin: 60px 0;
}

/* Headings */
h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
}

/* Platform link groups */
.platform-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.platform-link:not(.btn) {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #0a0a0a;
    /* dark background for platform buttons */
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    font-size: 0.95rem;
}

.platform-link:not(.btn):hover {
    background: #2a2a2a;
    border-color: #3a3a3a;
    transform: translateY(-2px);
}

/* About / Support sections */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #b0b0b0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-section p {
    margin-bottom: 20px;
}

.support-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 50px 30px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    text-align: center;
}

.support-section h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #0a0a0a;
    border-top: 1px solid #2a2a2a;
    margin-top: 60px;
    color: #666;
    font-size: 0.9rem;
}

/* Social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Make outline-primary use our accent color for consistency */
.btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: #fff;
    background-color: var(--accent);
    border-color: var(--accent);
}

/* When a platform-link is used with bootstrap buttons, favor bootstrap's visible styles */
.platform-link.btn {
    background: transparent;
    border-radius: 6px;
}

/* RESPONSIVE RULES */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .platform-links {
        flex-direction: column;
        align-items: stretch;
        /* makes it easier to create full-width buttons */
    }

    .platform-link:not(.btn) {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .support-section {
        padding: 40px 20px;
    }

    .social-links {
        gap: 15px;
    }
}

/* -----------------------------
   Utility & Components
   ----------------------------- */
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    z-index: 100;
}

.back-link:hover {
    color: #667eea;
}

.back-link::before {
    content: "← ";
}

.content-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px 40px;
    border-radius: 12px;
    margin: 40px 0;
    border: 1px solid #2a2a3a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

h3 {
    font-size: 1.4rem;
    margin: 35px 0 20px;
    color: #ffffff;
    font-weight: 600;
}

p {
    color: #c0c0c0;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-caption {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin-top: 15px;
    font-style: italic;
}

.support-info {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid #667eea;
}

.support-info p {
    margin-bottom: 10px;
}

.support-info ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.support-info li {
    padding: 8px 0 8px 25px;
    position: relative;
}

.support-info li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: #667eea;
    font-size: 1.5rem;
    line-height: 1;
}

.included-content {
    margin: 30px 0;
}

.included-content ul {
    list-style: none;
    padding: 0;
}

.included-content li {
    padding: 15px 0 15px 35px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.included-content li:last-child {
    border-bottom: none;
}

.included-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-container {
    text-align: center;
    margin: 50px 0 30px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

.warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: center;
}

.warning p {
    color: #ffb74d;
    margin: 0;
    font-size: 0.95rem;
}

.alternative-section {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    margin: 50px 0;
    border: 1px solid #2a2a2a;
    text-align: center;
}

.alternative-section h3 {
    margin-top: 0;
}

/* small details (kept consistent) - social links etc above */