
/* ========================================
   SEAKERZX WEBSITE
   GLOBAL STYLES
======================================== */


/* ========================================
   BRAND COLOR SYSTEM
======================================== */

:root {
    /* Default brand colors */
    --color-brand: #1677E8;
    --color-brand-hover: #0F63C7;
    --color-brand-soft: #fefee8;

    --color-indigo: #1B224B;
    --color-pink: #FF7BAE;

    /* Page-specific brand palettes */
    --color-commission: #55D98A;
    --color-commission-hover: #2FAF68;
    --color-commission-dark: #163B2A;

    --color-comics: #FF7BAE;
    --color-comics-hover: #E85D96;
    --color-comics-dark: #8F365B;

    --color-youtube: #FF0033;
    --color-youtube-hover: #CC0029;

    --color-twitch: #A970FF;
    --color-twitch-hover: #8747E8;

    --logo-gradient: linear-gradient(
        90deg,
        var(--color-brand),
        var(--color-brand-hover)
    );

    --gradient-brand: linear-gradient(
        to bottom,
        #5D3B60 0%,
        #38305F 48%,
        #1A1B5F 100%
    );

    /* Backgrounds and surfaces */
    --color-background: #F4F6FA;
    --color-surface: #151b27;
    --color-surface-light: #EEF2F7;

    --color-dark: #172334;
    --color-dark-secondary: #26364B;

    /* Text */
    --color-text: #8595b3;
    --color-text-muted: #8795A8;
    --color-text-light: #F4F6FA;

    /* Borders */
    --color-border: #D7DFE9;

    /* Layout */
    --max-width: 1200px;

    /* Border radius */
    --radius: 12px;
    --radius-small: 7px;
    --radius-large: 16px;
    --radius-pill: 30px;

    /* Compatibility aliases */
    --color-radius: var(--radius);
    --accent: var(--color-brand);
    --accent-secondary: var(--color-brand-hover);
}


/* ========================================
   PAGE-SPECIFIC BRAND COLORS
======================================== */

/* HOME */
body.homepage {
    --color-brand: #1677E8;
    --color-brand-hover: #0F63C7;
    --color-brand-soft: #E8F1FE;
}

/* PORTFOLIO */
body.portfolio-page {
    --color-brand: #1677E8;
    --color-brand-hover: #0F63C7;
    --color-brand-soft: #E8F1FE;
}

/* COMMISSIONS */
body.commissions-page {
    --color-brand: #55D98A;
    --color-brand-hover: #2FAF68;
    --color-brand-soft: #163B2A;

        --logo-gradient: linear-gradient(
    90deg,
    #55D98A 0%,
    #2FAF68 100%
    );
}

/* COMICS */
body.comics-page {
    --color-brand: #FF7BAE;
    --color-brand-hover: #E85D96;
    --color-brand-soft: #8F365B;

    --logo-gradient: linear-gradient(
        90deg,
        #FF7BAE 0%,
        #E85D96 100%
    );
}

/* VIDEOS */
body.videos-page {
    --color-brand: #FF0033;
    --color-brand-hover: #CC0029;
    --color-brand-soft: #45121F;

    --logo-gradient: linear-gradient(
        90deg,
        #FF0033 0%,
        #E52E72 48%,
        #A970FF 100%
    );
}


/* ========================================
   VIDEO PLATFORM BRAND COLORS
======================================== */

/* YouTube links */
body.videos-page a[href*="youtube.com"],
body.videos-page a[href*="youtu.be"] {
    --platform-color: #FF0033;
    --platform-hover: #CC0029;
}

/* Twitch links */
body.videos-page a[href*="twitch.tv"] {
    --platform-color: #A970FF;
    --platform-hover: #8747E8;
}


/* ========================================
   GLOBAL RESET
======================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: #0f0f0f;
    color: #f5f5f5;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
select,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

section {
    scroll-margin-top: 100px;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--color-text-muted);
}

button {
    cursor: pointer;
}


/* ========================================
   SHARED HEADER
======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 15px 4%;

    background: rgba(16, 16, 21, 0.94);
    border-bottom: 1px solid rgba(215, 223, 233, 0.15);

    backdrop-filter: blur(15px);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}

.main-navigation a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--color-brand);
}

.logo-placeholder {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;

    background: var(--logo-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}


/* ========================================
   SHARED SOCIAL LINKS
======================================== */

.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.minimalist-socials a {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--color-border);
    border-radius: 50%;

    font-size: 0.7rem;
    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.minimalist-socials a:hover {
    background: var(--color-brand);
    border-color: var(--color-brand);
    color: white;
    transform: translateY(-3px);
}


/* ========================================
   SHARED BUTTONS
======================================== */

.updates-button,
.patreon-button {
    display: inline-block;
    padding: 10px 17px;

    background: var(--color-brand);
    color: white;

    border-radius: var(--radius-pill);

    font-size: 0.85rem;
    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.updates-button:hover,
.patreon-button:hover {
    background: var(--color-brand-hover);
    transform: translateY(-2px);
}

.project-button,
.request-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;

    background: var(--color-brand);
    color: white;

    border-radius: var(--radius-small);

    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.project-button:hover,
.request-button:hover {
    background: var(--color-brand-hover);
    transform: translateY(-2px);
}

.disabled-button {
    background: #42424A;
    color: #AAA;
    cursor: not-allowed;
    pointer-events: none;
}


/* ========================================
   GENERAL PAGE LAYOUTS
======================================== */

main {
    width: 100%;
}

.home-section,
.page-section {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
}

.home-section {
    padding-top: 65px;
}

.page-section {
    padding-top: 100px;
    padding-bottom: 70px;
}

.page-section > h1,
.page-section > p {
    text-align: center;
}

.page-section > p {
    margin: 12px auto 40px;
}

.about-intro {
    padding: 35px 0 45px;
    text-align: center;
}

.about-intro h1 {
    margin-bottom: 12px;
}

.about-intro p {
    font-size: 1.1rem;
}


/* ========================================
   QUICK NAVIGATION
======================================== */

.quick-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 14px;

    margin: 0 auto 75px;
    padding: 15px;

    overflow-x: auto;

    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.quick-navigation a {
    flex: 1;
    min-width: max-content;
    padding: 13px 20px;

    border-radius: var(--radius-small);

    text-align: center;
    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.quick-navigation a:hover {
    background: var(--color-surface-light);
    color: var(--color-brand);
}


/* ========================================
   SHARED SOCIAL SECTION
======================================== */

.home-socials {
    margin: 70px 0;
    text-align: center;
}

.home-socials h2 {
    margin-bottom: 25px;
}

.colorful-socials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.colorful-socials a {
    padding: 12px 22px;

    border-radius: var(--radius-pill);

    color: white;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        filter 0.2s ease;
}

.colorful-socials a:hover {
    transform: translateY(-4px);
    filter: brightness(1.2);
}

.social-x {
    background: #292929;
}

.social-instagram {
    background: linear-gradient(
        45deg,
        #FEDA75,
        #FA7E1E,
        #D62976,
        #962FBF
    );
}

.social-tiktok {
    background: #171717;
    border: 1px solid #444;
}

.social-bluesky {
    background: #0878DF;
}

.social-twitch {
    background: #6441A5;
}

.social-youtube {
    background: #FF0033;
}


/* ========================================
   PATREON
======================================== */

.patreon-section {
    margin: 90px auto;
    padding: clamp(25px, 5vw, 55px);

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    text-align: center;
}

.patreon-logo {
    display: inline-block;
    margin-bottom: 20px;

    color: #FF424D;

    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
}

.patreon-heading h2 {
    margin-bottom: 10px;
}

.patreon-heading p {
    margin-bottom: 30px;
}

.patreon-description {
    max-width: 850px;
    margin: auto;
    text-align: left;
}

.patreon-description p {
    margin-bottom: 20px;
}

.patreon-button {
    margin-top: 20px;
    background: #FF424D;
    color: white;
}

.patreon-button:hover {
    background: #E73540;
}


/* ========================================
   SHARED PROJECT CARDS
======================================== */

.projects-section {
    margin: 100px 0;
}

.projects-section > h2 {
    margin-bottom: 40px;
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 310px), 1fr)
    );
    gap: 25px;
    align-items: stretch;
}

.project-card {
    overflow: hidden;

    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-brand);
}

.image-placeholder {
    width: 100%;
    min-height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: linear-gradient(
        135deg,
        #29263D,
        #202A37
    );

    color: #C8C3DF;
    text-align: center;
    font-weight: 700;
}

.project-information {
    padding: 25px;
}

.project-information h3 {
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.project-year {
    display: inline-block;
    margin-bottom: 18px;

    color: var(--color-brand-hover);

    font-size: 0.85rem;
    font-weight: 700;
}

.project-information h4 {
    margin-bottom: 8px;
}

.project-information p {
    margin-bottom: 16px;
}


/* ========================================
   SHARED SHOP AND UPDATES
======================================== */

.shop-section,
.updates-section {
    text-align: center;
}

.shop-section p,
.updates-section p {
    margin-top: 15px;
}


/* ========================================
   SHARED FOOTER
======================================== */

.site-footer {
    margin-top: 80px;
    padding: 60px 25px 25px;

    background: #0A0A0E;
    border-top: 1px solid rgba(215, 223, 233, 0.15);

    text-align: center;
}

.site-footer > h2 {
    margin-bottom: 25px;
}

.footer-socials {
    justify-content: center;
    margin-bottom: 45px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    margin-bottom: 35px;
}

.footer-contact h3 {
    margin-bottom: 5px;
}

.footer-contact a {
    color: var(--color-brand);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--color-brand-hover);
}

.back-to-top {
    padding: 11px 23px;

    background: var(--color-brand);
    color: white;

    border: none;
    border-radius: var(--radius-pill);

    font-weight: 800;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.back-to-top:hover {
    background: var(--color-brand-hover);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 35px;
    font-size: 0.8rem;
}


/* ========================================
   SHARED RESPONSIVE LAYOUT
======================================== */

@media (max-width: 1100px) {
    .site-header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .logo-placeholder {
        position: static;
        order: -1;
        width: 100%;
        transform: none;
        text-align: center;
    }

    .header-right {
        justify-content: center;
    }
}


@media (max-width: 700px) {
    html {
        scroll-padding-top: 150px;
    }

    .site-header {
        position: sticky;
        padding: 12px;
    }

    .main-navigation {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 8px 0;
    }

    .main-navigation a {
        white-space: nowrap;
    }

    .header-right {
        width: 100%;
        flex-wrap: wrap;
    }

    .header-right .social-links {
        justify-content: center;
    }

    .quick-navigation {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .quick-navigation a {
        flex: 0 0 auto;
    }

    .home-section,
    .page-section {
        width: min(100% - 25px, var(--max-width));
    }

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

    .page-section {
        padding-top: 65px;
    }
}


@media (max-width: 400px) {
    .colorful-socials {
        flex-direction: column;
    }

    .colorful-socials a {
        width: 100%;
    }
}


/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
