:root {
    --primary-black: #0a0a0a;
    --secondary-black: #171717;
    --primary-white: #f8f8f8;
    --secondary-white: #e0e0e0;
    --primary-beige: #d7cec7;
    --secondary-beige: #c09f80;
    --primary-brown: #76323f;
    --secondary-brown: #565656;
    
    --cloud-color: #3498db;
    --share-color: #e67e22;
    --stream-color: #9b59b6;
    --game-color: #2ecc71;
}

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

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCs16Hw5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Hw5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtZ6Hw5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu173w5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM73w5aXp-p7K4KLg.woff2) format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url(https://fonts.gstatic.com/s/montserrat/v25/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCvr73w5aXp-p7K4KLg.woff2) format('woff2');
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--primary-black);
    color: var(--primary-white);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--secondary-beige);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: difference;
    opacity: 0.7;
    z-index: 9999;
    transition: transform 0.2s ease;
}

.stars-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

@keyframes animateStars {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-2000px);
    }
}

#stars {
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1907px 1575px #FFF, 893px 268px #FFF, 1819px 666px #FFF, 366px 1985px #FFF, 1736px 1062px #FFF, 1124px 45px #FFF;
    animation: animateStars 150s linear infinite;
}

#stars:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 1px;
    height: 1px;
    background: transparent;
    box-shadow: 1907px 1575px #FFF, 893px 268px #FFF, 1819px 666px #FFF, 366px 1985px #FFF, 1736px 1062px #FFF, 1124px 45px #FFF;
}

#stars2 {
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 1267px 497px #FFF, 1312px 936px #FFF, 1563px 1130px #FFF, 449px 60px #FFF, 706px 1035px #FFF;
    animation: animateStars 200s linear infinite;
}

#stars2:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 2px;
    height: 2px;
    background: transparent;
    box-shadow: 1267px 497px #FFF, 1312px 936px #FFF, 1563px 1130px #FFF, 449px 60px #FFF, 706px 1035px #FFF;
}

#stars3 {
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 1336px 645px #FFF, 57px 1825px #FFF, 699px 1521px #FFF, 1021px 987px #FFF, 1857px 752px #FFF;
    animation: animateStars 250s linear infinite;
}

#stars3:after {
    content: " ";
    position: absolute;
    top: 2000px;
    width: 3px;
    height: 3px;
    background: transparent;
    box-shadow: 1336px 645px #FFF, 57px 1825px #FFF, 699px 1521px #FFF, 1021px 987px #FFF, 1857px 752px #FFF;
}

header {
    padding: 2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    text-align: center;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.5rem;
    text-transform: uppercase;
    color: var(--secondary-beige);
}

.tagline {
    font-size: 0.9rem;
    color: var(--secondary-white);
    letter-spacing: 0.15rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

main {
    padding-top: 6rem;
    width: 100%;
    text-align: center;
}

section {
    padding: 5rem 0;
    position: relative;
    width: 100%;
    text-align: center;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 0;
    width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2rem;
    position: relative;
    width: 100%;
    text-align: center;
}

.announcement {
    font-size: 1.2rem;
    max-width: 800px;
    line-height: 1.8;
    color: var(--secondary-white);
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.announcement strong {
    color: var(--secondary-beige);
}

.glitch {
    position: relative;
    color: var(--primary-white);
    letter-spacing: 5px;
    animation: glitch-skew 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate-reverse;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.glitch::after,
.glitch::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.glitch::after {
    color: var(--secondary-beige);
    z-index: -2;
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch::before {
    color: var(--primary-brown);
    z-index: -1;
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(30% 0 68% 0);
        transform: translate(-2px, 2px);
    }
    5% {
        clip-path: inset(13% 0 53% 0);
        transform: translate(2px, -2px);
    }
    10% {
        clip-path: inset(75% 0 21% 0);
        transform: translate(1px, 2px);
    }
    15% {
        clip-path: inset(91% 0 7% 0);
        transform: translate(-2px, 1px);
    }
    20% {
        clip-path: inset(2% 0 96% 0);
        transform: translate(-2px, -2px);
    }
    25% {
        clip-path: inset(46% 0 12% 0);
        transform: translate(2px, 2px);
    }
    30% {
        clip-path: inset(80% 0 19% 0);
        transform: translate(2px, -2px);
    }
    35% {
        clip-path: inset(19% 0 59% 0);
        transform: translate(-2px, -2px);
    }
    40% {
        clip-path: inset(23% 0 75% 0);
        transform: translate(-1px, 2px);
    }
    45% {
        clip-path: inset(69% 0 5% 0);
        transform: translate(2px, 1px);
    }
    50% {
        clip-path: inset(87% 0 12% 0);
        transform: translate(2px, -2px);
    }
    55% {
        clip-path: inset(24% 0 73% 0);
        transform: translate(-1px, -1px);
    }
    60% {
        clip-path: inset(20% 0 79% 0);
        transform: translate(1px, -1px);
    }
    65% {
        clip-path: inset(62% 0 37% 0);
        transform: translate(-2px, 2px);
    }
    70% {
        clip-path: inset(17% 0 81% 0);
        transform: translate(2px, -2px);
    }
    75% {
        clip-path: inset(62% 0 11% 0);
        transform: translate(2px, 1px);
    }
    80% {
        clip-path: inset(32% 0 65% 0);
        transform: translate(-1px, 2px);
    }
    85% {
        clip-path: inset(10% 0 89% 0);
        transform: translate(2px, -2px);
    }
    90% {
        clip-path: inset(2% 0 97% 0);
        transform: translate(-2px, -1px);
    }
    95% {
        clip-path: inset(56% 0 23% 0);
        transform: translate(1px, 2px);
    }
    100% {
        clip-path: inset(83% 0 16% 0);
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(96% 0 4% 0);
        transform: translate(-2px, -2px);
    }
    5% {
        clip-path: inset(62% 0 37% 0);
        transform: translate(2px, 2px);
    }
    10% {
        clip-path: inset(47% 0 52% 0);
        transform: translate(-2px, -1px);
    }
    15% {
        clip-path: inset(35% 0 63% 0);
        transform: translate(2px, 2px);
    }
    20% {
        clip-path: inset(7% 0 92% 0);
        transform: translate(-2px, -2px);
    }
    25% {
        clip-path: inset(83% 0 16% 0);
        transform: translate(-1px, 2px);
    }
    30% {
        clip-path: inset(58% 0 41% 0);
        transform: translate(2px, -2px);
    }
    35% {
        clip-path: inset(96% 0 2% 0);
        transform: translate(-2px, 2px);
    }
    40% {
        clip-path: inset(10% 0 87% 0);
        transform: translate(2px, -2px);
    }
    45% {
        clip-path: inset(51% 0 48% 0);
        transform: translate(-2px, 1px);
    }
    50% {
        clip-path: inset(41% 0 58% 0);
        transform: translate(2px, 2px);
    }
    55% {
        clip-path: inset(6% 0 43% 0);
        transform: translate(-2px, -2px);
    }
    60% {
        clip-path: inset(67% 0 32% 0);
        transform: translate(2px, -1px);
    }
    65% {
        clip-path: inset(29% 0 70% 0);
        transform: translate(-1px, 2px);
    }
    70% {
        clip-path: inset(90% 0 9% 0);
        transform: translate(2px, -2px);
    }
    75% {
        clip-path: inset(3% 0 96% 0);
        transform: translate(-2px, 1px);
    }
    80% {
        clip-path: inset(42% 0 57% 0);
        transform: translate(2px, 2px);
    }
    85% {
        clip-path: inset(63% 0 36% 0);
        transform: translate(-2px, -1px);
    }
    90% {
        clip-path: inset(14% 0 85% 0);
        transform: translate(2px, 2px);
    }
    95% {
        clip-path: inset(99% 0 1% 0);
        transform: translate(-2px, -2px);
    }
    100% {
        clip-path: inset(32% 0 67% 0);
        transform: translate(2px, 1px);
    }
}

@keyframes glitch-skew {
    0% {
        transform: skew(0deg);
    }
    10% {
        transform: skew(0deg);
    }
    15% {
        transform: skew(4deg);
    }
    20% {
        transform: skew(0deg);
    }
    25% {
        transform: skew(0deg);
    }
    30% {
        transform: skew(-4deg);
    }
    45% {
        transform: skew(0deg);
    }
    50% {
        transform: skew(0deg);
    }
    55% {
        transform: skew(2deg);
    }
    60% {
        transform: skew(0deg);
    }
    75% {
        transform: skew(0deg);
    }
    80% {
        transform: skew(-2deg);
    }
    100% {
        transform: skew(0deg);
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    margin: 0 auto 3rem auto;
    width: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--secondary-beige);
    transition: width 1s ease;
}

.section-title.reveal-active::after {
    width: 100%;
}

.services {
    text-align: center;
    background-color: var(--secondary-black);
    width: 100%;
    padding: 5rem 10%;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.5);
}

.service-card.cloud {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1573164713988-8665fc963095?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60');
}

.service-card.share {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1535303311164-d853c39c4c55?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60');
}

.service-card.stream {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1567443024551-f3e3a72144ed?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60');
}

.service-card.game {
    background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=60');
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
    text-align: center;
}

.service-card:hover .card-content {
    transform: translateY(-20px);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
}

.cloud h3 { color: var(--cloud-color); }
.share h3 { color: var(--share-color); }
.stream h3 { color: var(--stream-color); }
.game h3 { color: var(--game-color); }

.service-card p {
    opacity: 0.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.coming-soon {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.service-card:hover .coming-soon {
    opacity: 1;
    transform: translateY(0);
}

.game-section {
    background-color: var(--primary-black);
    text-align: center;
    width: 100%;
    padding: 5rem 10%;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-black);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.game-info {
    margin-bottom: 1.5rem;
    text-align: center;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    font-size: 1.2rem;
}

.high-score {
    color: var(--secondary-beige);
    font-weight: bold;
}

#game-board {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #0f0f0f;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    display: none;
}

.treasure {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--secondary-beige);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    display: none;
    transition: all 0.2s ease;
}

.treasure:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px var(--secondary-beige);
}

.btn {
    background-color: var(--secondary-beige);
    color: var(--primary-black);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.btn:hover {
    background-color: var(--primary-brown);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact {
    text-align: center;
    background-color: var(--secondary-black);
    width: 100%;
    padding: 5rem 10%;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-methods {
    text-align: center;
    background-color: var(--primary-black);
    padding: 2rem;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-methods h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--secondary-beige);
    text-align: center;
}

.email-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.email-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
}

.email-label {
    font-size: 0.9rem;
    color: var(--secondary-white);
    text-align: center;
}

.email-link {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    display: inline-block;
    position: relative;
    text-align: center;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-beige);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.email-link:hover {
    color: var(--secondary-beige);
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#contact-form {
    text-align: center;
    background-color: var(--primary-black);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container input,
.input-container select,
.input-container textarea {
    width: 100%;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: var(--primary-white);
    border: none;
    border-bottom: 1px solid var(--secondary-white);
    background-color: transparent;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.input-container label {
    position: absolute;
    top: 0.8rem;
    left: 0;
    color: var(--secondary-white);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-container input:focus ~ label,
.input-container input:valid ~ label,
.input-container select:focus ~ label,
.input-container select:valid ~ label,
.input-container textarea:focus ~ label,
.input-container textarea:valid ~ label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--secondary-beige);
}

.input-container .focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-beige);
    transition: all 0.3s ease;
}

.input-container input:focus ~ .focus-border,
.input-container select:focus ~ .focus-border,
.input-container textarea:focus ~ .focus-border {
    width: 100%;
}

.input-container.textarea {
    height: 150px;
}

.input-container textarea {
    height: 100%;
    resize: none;
}

footer {
    background-color: var(--primary-black);
    padding: 3rem 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer-logo .logo {
    font-size: 1.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--secondary-white);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-beige);
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .logo {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    section {
        padding: 4rem 5%;
    }
    .contact-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .announcement {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .service-cards {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .logo {
        font-size: 1.8rem;
    }
    .tagline {
        font-size: 0.8rem;
    }
}