@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Outfit:wght@400;700;900&display=swap');

:root {
    --bg-color: #050508;
    --card-bg: rgba(20, 20, 25, 0.7);
    --accent-color: #ffd700;
    --accent-glow: rgba(255, 215, 0, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .title-font {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a1a2e 0%, #050508 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    filter: brightness(0.2) blur(5px);
    transform: scale(1.1);
}

/* Mini Screen Display */
.display-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    z-index: 2;
}

.mini-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.slider-main {
    display: flex;
    align-items: center;
    gap: 40px;
}

.display-container {
    width: 400px;
    height: 400px;
    background: #000;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 
        0 0 0 1px rgba(255, 215, 0, 0.2),
        0 30px 100px rgba(0,0,0,0.9);
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.scroll-indicator {
    margin-top: 40px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

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

.screen-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-btn {
    background: transparent;
    color: rgba(255,255,255,0.3);
    border: none;
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition-smooth);
    user-select: none;
}

.nav-btn:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Remove old hero content styles */
.hero-content, .hero-title, .hero-subtitle {
    display: none;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
    filter: drop-shadow(0 0 30px rgba(255,215,0,0.3));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 8px;
    margin-bottom: 40px;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 0 15px var(--accent-glow);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.btn-main {
    padding: 15px 40px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 0 var(--accent-color);
}

.btn-main:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow), inset 0 0 20px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

.btn-main::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
    pointer-events: none;
}

.btn-main:hover::after {
    left: 100%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,215,0,0.05), transparent);
    pointer-events: none;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
}

/* Lore Section */
.lore-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lore-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: rotate(-2deg);
    transition: var(--transition-smooth);
}

.lore-img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .lore-section {
        grid-template-columns: 1fr;
    }
}
