/* gamelicensor.pro - Chrome Metallic Design */
/* Colors: #0D0D1A, #C0C0C0, #E8E8E8, #A0A0A0, #D8D8D8, #7B68EE, #40E0D0, #BFFF00, #FF6B6B, #F0EFF4, #4A4A5A, #9999AA, #E8E6EF, #C8C8D0 */
/* Fonts: Righteous (display), Architects Daughter (body) */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: #0D0D1A;
    color: #F0EFF4;
    font-family: 'Architects Daughter', cursive;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ========== HERO SECTION ========== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(192, 192, 192, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Chrome Seal */
.chrome-seal {
    width: 160px;
    height: 160px;
    margin-bottom: 1rem;
}

.seal-svg {
    width: 100%;
    height: 100%;
}

.seal-ring-outer {
    animation: rotateSeal 20s linear infinite;
    transform-origin: 100px 100px;
}

.seal-ring-mid {
    animation: rotateSeal 15s linear infinite reverse;
    transform-origin: 100px 100px;
}

.seal-ring-inner {
    animation: rotateSeal 25s linear infinite;
    transform-origin: 100px 100px;
}

.seal-ring-outer,
.seal-ring-mid,
.seal-ring-inner {
    animation-name: rotateSeal, dashDraw;
    animation-duration: 20s, 8s;
    animation-timing-function: linear, linear;
    animation-iteration-count: infinite, infinite;
}

.seal-ring-mid {
    animation-duration: 15s, 6s;
    animation-direction: reverse, normal;
}

.seal-ring-inner {
    animation-duration: 25s, 10s;
}

@keyframes rotateSeal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes dashDraw {
    from { stroke-dashoffset: 0; }
    to { stroke-dashoffset: 100; }
}

.seal-text-top,
.seal-text-bottom {
    font-family: 'Righteous', cursive;
}

/* Hero Title - Chrome gradient text */
.hero-title {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6.5rem);
    letter-spacing: 0.03em;
    line-height: 1.0;
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8, #A0A0A0, #D8D8D8, #E8E8E8);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: chromeShimmer 6s ease-in-out infinite, heroBreath 4s ease-in-out infinite;
}

@keyframes chromeShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroBreath {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-subtitle {
    font-family: 'Architects Daughter', cursive;
    font-size: clamp(0.9rem, 2vw, 1.3rem);
    color: #9999AA;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 1s forwards;
}

.scroll-arrow {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid #4A4A5A;
    border-bottom: 2px solid #4A4A5A;
    transform: rotate(45deg);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.section-band {
    max-width: 900px;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-band.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-number {
    font-family: 'Righteous', cursive;
    font-size: clamp(4rem, 8vw, 7rem);
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8, #A0A0A0, #D8D8D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 0;
}

.section-heading {
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: 0.03em;
    line-height: 1.0;
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8, #A0A0A0, #D8D8D8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-body {
    position: relative;
    z-index: 1;
}

.content-text {
    font-family: 'Architects Daughter', cursive;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: #E8E6EF;
    line-height: 1.8;
    max-width: 700px;
}

/* Chrome Divider */
.chrome-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #4A4A5A, #A0A0A0, #4A4A5A, transparent);
    margin: 2.5rem 0;
}

/* ========== STAT ROW ========== */
.stat-row {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-value {
    font-family: 'Righteous', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.stat-label {
    font-family: 'Architects Daughter', cursive;
    font-size: 0.85rem;
    color: #9999AA;
    letter-spacing: 0.02em;
}

/* Accent Colors */
.accent-violet { color: #7B68EE; }
.accent-turquoise { color: #40E0D0; }
.accent-lime { color: #BFFF00; }
.accent-coral { color: #FF6B6B; }

.accent-bg-violet { background-color: #7B68EE; }
.accent-bg-turquoise { background-color: #40E0D0; }
.accent-bg-lime { background-color: #BFFF00; }
.accent-bg-coral { background-color: #FF6B6B; }

/* ========== ROYALTY BARS ========== */
.royalty-visual {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.royalty-bar {
    position: relative;
    height: 36px;
    background: rgba(74, 74, 90, 0.3);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 4px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 0.7;
}

.royalty-bar.animated .bar-fill {
    width: var(--bar-width);
}

.bar-label {
    position: relative;
    z-index: 1;
    font-family: 'Architects Daughter', cursive;
    font-size: 0.85rem;
    color: #F0EFF4;
    padding-left: 12px;
}

.bar-value {
    position: relative;
    z-index: 1;
    font-family: 'Righteous', cursive;
    font-size: 0.85rem;
    color: #F0EFF4;
    margin-left: auto;
    padding-right: 12px;
}

/* ========== TERRITORY GRID ========== */
.territory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.territory-card {
    background: rgba(74, 74, 90, 0.15);
    border: 1px solid rgba(160, 160, 160, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.territory-card:hover {
    border-color: rgba(160, 160, 160, 0.3);
    transform: translateY(-4px);
}

.territory-icon {
    width: 50px;
    height: 50px;
}

.territory-icon svg {
    width: 100%;
    height: 100%;
}

.territory-name {
    font-family: 'Righteous', cursive;
    font-size: 1rem;
    color: #E8E8E8;
    letter-spacing: 0.02em;
}

.territory-detail {
    font-family: 'Architects Daughter', cursive;
    font-size: 0.8rem;
    color: #9999AA;
}

/* ========== PLATFORM GRID ========== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.platform-item {
    background: rgba(74, 74, 90, 0.1);
    border: 1px solid rgba(160, 160, 160, 0.08);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.platform-item:hover {
    border-color: rgba(160, 160, 160, 0.25);
    transform: translateY(-4px);
}

.platform-badge {
    font-family: 'Righteous', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

.platform-desc {
    font-family: 'Architects Daughter', cursive;
    font-size: 0.85rem;
    color: #9999AA;
    line-height: 1.6;
}

/* ========== AGREEMENT LIST ========== */
.agreement-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.agreement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(74, 74, 90, 0.1);
    border-left: 2px solid #4A4A5A;
    border-radius: 0 6px 6px 0;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.agreement-item:hover {
    border-left-color: #7B68EE;
    background: rgba(123, 104, 238, 0.05);
}

.agreement-icon {
    color: #7B68EE;
    font-size: 0.6rem;
}

.agreement-text {
    font-family: 'Architects Daughter', cursive;
    font-size: 1rem;
    color: #E8E6EF;
}

/* ========== FOOTER ========== */
.footer-section {
    min-height: auto;
    padding: 6rem 2rem;
    border-top: 1px solid rgba(74, 74, 90, 0.3);
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-seal {
    width: 80px;
    height: 80px;
}

.footer-seal-svg {
    width: 100%;
    height: 100%;
}

.footer-ring {
    animation: rotateSeal 30s linear infinite;
    transform-origin: 60px 60px;
}

.footer-tagline {
    font-family: 'Architects Daughter', cursive;
    font-size: 1rem;
    color: #9999AA;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-link {
    font-family: 'Righteous', cursive;
    font-size: 0.8rem;
    color: #A0A0A0;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #E8E8E8;
}

.footer-divider {
    color: #4A4A5A;
}

.footer-copy {
    font-family: 'Architects Daughter', cursive;
    font-size: 0.75rem;
    color: #C8C8D0;
}

/* ========== ALTERNATING SECTION BORDERS ========== */
.content-section:nth-child(even) .section-band {
    border-left: 2px solid rgba(64, 224, 208, 0.15);
    padding-left: 2rem;
}

.content-section:nth-child(odd) .section-band {
    border-right: 2px solid rgba(123, 104, 238, 0.15);
    padding-right: 2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .territory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .content-section {
        padding: 4rem 1.5rem;
    }

    .content-section:nth-child(even) .section-band {
        padding-left: 1rem;
    }

    .content-section:nth-child(odd) .section-band {
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    .territory-grid {
        grid-template-columns: 1fr;
    }

    .chrome-seal {
        width: 120px;
        height: 120px;
    }
}
