:root {
    /* Colors */
    --color-bg-dark: #1a1a1a;
    --color-bg-darker: #0f0f0f;
    --color-text-main: #dedede;
    --color-text-light: #ffffff;
    --color-text-muted: #c0c0c0;

    --color-primary: #66ff66;
    --color-primary-hover: #8db006;
    --color-primary-dark: #536904;
    --color-primary-light: #799905;

    --color-discord-bg: #2c2f33;
    --color-discord-dark: #23272a;
    --color-discord-accent: #7289da;
    --color-discord-text: #99aab5;
    --color-discord-btn: #5865f2;
    --color-discord-btn-hover: #4752c4;

    --color-overlay-light: rgba(255, 255, 255, 0.05);
    --color-overlay-dark: rgba(0, 0, 0, 0.5);

    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-dark: rgba(255, 255, 255, 0.15);
    --color-border-primary: rgba(102, 255, 102, 0.2);

    /* Border Radius */
    --radius-xs: 3px;
    --radius-sm: 4px;
    --radius-md: 5px;
    --radius-lg: 8px;
    --radius-xl: 10px;
    --radius-xxl: 15px;
}

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

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

#hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('img/heroBG.png') center/cover;
    position: relative;
}

.hero-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hero-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.logo {
    max-width: 650px;
    width: 90vw;
    height: auto;
    animation: fadeIn 1.5s ease-out;
}

.hero-bottom {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 5px;
    justify-content: center;
    animation: slideUp 1s ease-out 0.5s both;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.025);
    border: 2px solid var(--color-border-dark);
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    font-size: 22px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(102, 255, 102, 0.2);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 255, 102, 0.3);
}

.social-links a,
.social-links a:hover,
.social-links a:focus,
.social-links a:active {
    text-decoration: none;
}

.scroll-indicator {
    font-size: 30px;
    color: var(--color-text-light);
    animation: bounce 2s infinite;
    transition: opacity 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-section {
    background: var(--color-bg-dark);
    padding: 80px 0;
}

.intro-content {
    text-align: center;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 50px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight, .green {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(102, 255, 102, 0.5);
}

.platform-widget {
    max-width: 646px;
    margin: 40px auto 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: 10px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.platform-header {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.platform-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.platform-icons i {
    font-size: 32px;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

.platform-icons i:hover {
    transform: scale(1.2);
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(102, 255, 102, 0.5);
}

.steam-widget {
    margin: 60px auto 40px;
    max-width: 646px;
}

.steam-widget iframe {
    width: 100%;
    height: 190px;
    border: none;
    border-radius: var(--radius-md);
}

.discord-panel {
    max-width: 646px;
    margin: 40px auto;
    background: var(--color-discord-bg);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.discord-header {
    color: var(--color-discord-text);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.discord-header i {
    color: var(--color-discord-accent);
    font-size: 16px;
}

.discord-body {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.server-icon {
    width: 60px;
    height: 60px;
    background: url('img/kikiLogo.png') center/contain;
    border-radius: var(--radius-xxl);
    flex-shrink: 0;
}

.server-info h3 {
    color: var(--color-text-light);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.discord-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--color-discord-btn);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s ease;
}

.discord-btn:hover {
    background: var(--color-discord-btn-hover);
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.steam-btn {
    position: relative;
    padding: 12px 30px;
    background: linear-gradient(to bottom, var(--color-primary-light), var(--color-primary-dark));
    border: none;
    border-radius: var(--radius-xs);
    color: var(--color-text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.steam-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.steam-btn:hover {
    background: linear-gradient(to bottom, var(--color-primary-hover), #638005);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(141, 176, 6, 0.6),
    0 0 60px rgba(141, 176, 6, 0.3);
}

.steam-btn:hover::before {
    opacity: 1;
}

.steam-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.feature {
    position: relative;
    padding: 100px 0;
    background: none;
    overflow: hidden;
}

.feature.one   { --bg: url("img/bg1.png"); --grad: to left;  }
.feature.two   { --bg: url("img/bg2.png"); --grad: to right; }
.feature.three { --bg: url("img/bg3.png"); --grad: to left;  }
.feature.four  { --bg: url("img/bg4.png"); --grad: to right; }
.feature.five  { --bg: url("img/bg5.png"); --grad: to left;  }
.feature.six  { --bg: url("img/bg6.png"); --grad: to right;  }
.feature.seven  { --bg: url("img/bg7.png"); --grad: to left;  }
.feature.eight  { --bg: url("img/bg8.png"); --grad: to right;  }
.feature.nine  { --bg: url("img/bg9.png"); --grad: to left;  }

.feature::before,
.feature::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.feature::before {
    top: -32px; right: -32px; bottom: -32px; left: -32px;
    background: var(--bg) center/cover no-repeat;
    filter: blur(14px);
    will-change: filter, transform;
}
.feature::after {
    background: linear-gradient(var(--grad, to left), rgba(0,0,0,.70), rgba(0,0,0,.30));
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-wrapper.reverse {
    direction: rtl;
}

.content-wrapper.reverse .text-content,
.content-wrapper.reverse .image-content {
    direction: ltr;
}

.text-content {
    background: var(--color-overlay-dark);
    padding: 40px;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    font-weight: 400;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
}

.image-content:hover img {
    transform: scale(1.05);
}

.contact-section {
    background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-darker));
    padding: 80px 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--color-overlay-dark);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--color-overlay-light);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(102, 255, 102, 0.2);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .steam-btn {
    margin-top: 10px;
    padding: 15px 40px;
    font-size: 18px;
}

/* FOOTER */
.headerLineBot{
    background-color: #38363a;
    left: 0;
    height: 3px;
    position: absolute;
    width: 100%;
    display: flex;
}

.footerAnim {
    overflow: hidden;
    background: #1e1e1e;
    padding-top: 4rem;
    font-family: 'Geologica', sans-serif;
}

.footerAnim span {
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    font-size: 140px;
    font-weight: 900;
}

.full-width {
    width: calc(100% + 72rem);
}

.c-footer__text-loop {
    color: rgb(231, 232, 233);
    display: inline-block;
    margin-bottom: 56rem;
    opacity: .1;
    padding-top: 16rem;
    position: relative;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}

.anim--loop {
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: translate;
    animation-name: translate;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    display: inline-block;
}

@keyframes translate {
    0% {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        transform: translateZ(0px);
    }
    100% {
        -webkit-transform: translate3d(-100%,0,0);
        transform: translate3d(-50%,0,0);
        transform: translate3d(-50%, 0px, 0px);
    }
}

.footer {
    grid-row-gap: 3rem;
    background: #1e1e1e;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 4rem 4rem;
    font-family: 'Geologica', sans-serif;
}

.sectionBottom{
    width: 100%;
    grid-gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(0,1fr));
    justify-content: space-between;
    color: #e6e7e8;
    display: grid;
    font-size: 14px;
    font-weight: 700;
    justify-items: center;
    margin-top: 1rem;
    flex-basis: 100%;
    order: 4;
    text-align: center;
}
.sectionBottom>:first-child {
    width: 100%;
    text-align: left;
}
.sectionBottom>:last-child {
    width: 100%;
    text-align: right;
}

.footerCard{ display:block; text-decoration:none; color:inherit; }

/* RESPONSIVE */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 95%;
    }

    .content-wrapper {
        gap: 50px;
    }

    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-wrapper.reverse .text-content,
    .content-wrapper.reverse .image-content {
        order: unset;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .feature {
        padding: 60px 0;
    }

    .social-links {
        flex-wrap: wrap;
        max-width: 300px;
    }

    .discord-panel {
        max-width: 100%;
    }

    .steam-widget {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .text-content {
        padding: 30px;
    }

    .text-content p {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .sectionBottom{
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 80vw;
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 1.6rem;
    }

    .buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 280px;
        margin: 30px auto 0;
    }

    .steam-btn {
        width: 100%;
    }

    .text-content {
        padding: 20px;
    }

    .text-content p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 20px;
    }

    .hero-bottom {
        bottom: 20px;
        gap: 20px;
    }

    .social-links {
        gap: 10px;
        flex-wrap: nowrap;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .scroll-indicator {
        font-size: 24px;
    }

    .feature {
        padding: 40px 0;
    }

    .intro-section {
        padding: 50px 0;
    }

    .discord-panel {
        padding: 15px;
    }

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

    .server-info h3 {
        font-size: 18px;
    }

    .sectionBottom{
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

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