/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 200;
}

/* Typography */
.main-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(3.2rem, 13vw, 9.5rem);
    font-weight: 100;
    letter-spacing: 0.1em;
    margin-bottom: 1.8rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Social Section */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    justify-content: center;
    max-width: min(430px, 92vw);
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 1.2s;
    margin-bottom: 0.7rem;
    margin-top: 0;
}

.social-buttons.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-button:hover::before {
    left: 100%;
}

.social-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.social-button.secondary {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
    color: #cccccc;
}

.social-button.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        margin-bottom: 1.5rem;
    }

    .social-buttons {
        gap: 1rem;
        grid-template-columns: 1fr;
    }

    .social-button {
        justify-content: center;
        padding: 1rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .social-button {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 900px) {
    .hero-fullscreen::before {
        background-size: min(120vw, 120vh);
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: clamp(2.5rem, 15vw, 6rem);
    }
    .hero-subtitle {
        font-size: 1.0rem;
        max-width: 88vw;
    }
    .hero-descriptor {
        font-size: 0.82rem;
    }
    .hero-fullscreen::before {
        background-size: min(98vw, 98vh);
    }
    .hero-content {
        padding-left: 6vw;
        padding-right: 6vw;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Animation keyframes for additional effects */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 18px rgba(255, 255, 255, 0.07), 0 0 42px rgba(255, 255, 255, 0.04);
    }
    50% {
        text-shadow: 0 0 24px rgba(255, 255, 255, 0.09), 0 0 48px rgba(255, 255, 255, 0.05);
    }
}

.main-title.fade-in {
    animation: glow 4s ease-in-out infinite;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .social-button {
        border-width: 2px;
    }

    .main-title {
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
    }
}

.hero-fullscreen {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000;
    padding: 0;
    margin: 0;
    overflow: hidden;
    opacity: 1;
}

.hero-fullscreen::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('./brand/gnawborn-mark.svg') no-repeat center 54%;
    background-size: min(90vw, 90vh);
    opacity: 0.08;
    filter: blur(1.5px);
    pointer-events: none;
    z-index: 1;
}

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

.footer {
    width: 100%;
    text-align: center;
    font-size: 0.98rem;
    color: #888;
    font-weight: 200;
    letter-spacing: 0.01em;
    background: none;
    border: none;
    margin: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 100;
    padding: 0.7rem 0 calc(1.2rem + env(safe-area-inset-bottom, 0px)) 0;
    background: rgba(0,0,0,0.85);
    box-shadow: 0 -2px 16px rgba(0,0,0,0.08);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}
.footer.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.footer a {
    color: #aaa;
    text-decoration: underline dotted;
    transition: color 0.2s;
}
.footer a:hover {
    color: #fff;
}

@media (max-width: 600px) {
    .footer {
        font-size: 0.92rem;
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom, 0px)) 0;
    }
}

.hero-subtitles {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.6s;
}
.hero-subtitles.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: clamp(1.18rem, 2.7vw, 1.55rem);
    font-weight: 200;
    color: #cccccc;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.5;
    max-width: 520px;
}

.hero-descriptor {
    font-size: clamp(0.85rem, 1.8vw, 1.0rem);
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.02em;
    text-align: center;
    line-height: 1.3;
    text-transform: lowercase;
}

.keyboard-navigation a:focus,
.keyboard-navigation button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.hero-subsubtitle {
    font-size: 0.98rem;
    color: #bbbbbb;
    font-weight: 200;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 1s;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
    letter-spacing: 0.01em;
    text-align: center;
    line-height: 1.2;
}

.hero-subsubtitle.fade-in {
    opacity: 0.65;
    transform: translateY(0);
}

.hero-subsubtitle a {
    color: inherit;
    text-decoration: underline dotted rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.hero-subsubtitle a:hover,
.hero-subsubtitle a:focus {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.7);
}
