/*
Theme Name: Silverstorm Lite
Author: Gemini
Description: Dark theme with pure opacity fade-in and hardware-accelerated buttons.
Version: 1.2
*/

body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* --- Hero Section & Layout --- */

.hero-section {
    height: 100vh;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for readability */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* --- Content Wrapper (Pure Fade-In, No Movement) --- */

.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Starting state: hidden */
    opacity: 0;
    /* Duration and curve for the fade */
    transition: opacity 1.2s ease-in-out;
    /* Stability properties */
    backface-visibility: hidden;
    will-change: opacity;
}

.content-wrapper.visible {
    opacity: 1;
}

/* --- Typography --- */

.title-group {
    margin-top: -80px; 
}

h1.main-title { 
    font-size: 4rem; 
    font-weight: 300; 
    margin-bottom: 5px;
    letter-spacing: -2px; 
    line-height: 1.1;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #999;
    margin-top: 5px;
    margin-bottom: 30px;
    text-transform: none;
}

/* --- Interactive Elements (App Buttons) --- */

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.app-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Forced GPU rendering for button hover stability */
    transform: translateZ(0); 
    backface-visibility: hidden;
}

.app-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px) translateZ(0);
}

.app-btn svg { fill: currentColor; }
.app-btn i { font-size: 28px; }
.app-btn span { font-size: 10px; text-align: left; line-height: 1.1; }
.app-btn b { font-size: 18px; display: block; }

/* --- Feature Container --- */

.feature-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 120px;
}

.circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0); 
    backface-visibility: hidden;
}

.feature-item:hover .circle-icon {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: scale(1.1) translateZ(0);
}

.circle-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.feature-item span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.3;
    font-weight: 400;
}

/* --- Footer --- */

footer {
    border-top: 0.5px solid #1a1a1a;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 20px 0;
}

/* --- Legal Page Styles --- */

.legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    min-height: 60vh;
}

.legal-wrapper h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: -2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.legal-wrapper h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-wrapper p, 
.legal-wrapper li {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-wrapper a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}