/* Custom Font */
@font-face {
    font-family: 'GT Pressura';
    src: url('GT-Pressura-Standard-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --relic-red: #E50914;
    --dark-bg: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-red: #FF4545;
}

body {
    font-family: 'GT Pressura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Noise Overlay for Cinematic Effect */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: center;
    animation: fadeInDown 1s ease-out;
}

.logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(229, 9, 20, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Tagline */
.tagline {
    font-family: 'GT Pressura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.tagline .line1,
.tagline .line2 {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.tagline .line1 {
    animation-delay: 0.3s;
}

.tagline .line2 {
    animation-delay: 0.6s;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coming Soon Section */
.coming-soon {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.coming-text {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--relic-red);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: var(--relic-red);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Footer */
footer {
    text-align: center;
}

/* Mobile-specific footer positioning */
@media (max-width: 768px) {
    footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 1rem;
        background: linear-gradient(to top, var(--dark-bg) 70%, transparent);
    }
}

/* Film Strip Footer */
.film-strip {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.frame {
    width: 35px;
    height: 35px;
    background-color: #1a1a1a;
    border: 2px solid #2a2a2a;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.frame::before,
.frame::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #2a2a2a;
    border-radius: 1px;
}

.frame::before {
    top: 4px;
    left: 4px;
}

.frame::after {
    bottom: 4px;
    right: 4px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        padding-bottom: 4rem; /* Space for fixed footer */
    }
    
    .logo {
        width: 140px;
    }
    
    .tagline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .coming-text {
        font-size: 1rem;
    }
    
    .frame {
        width: 28px;
        height: 28px;
    }
    
    .instagram-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Hover Effects */
@media (hover: hover) {
    .frame {
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .frame:hover {
        background-color: #2a2a2a;
        border-color: var(--relic-red);
        transform: scale(1.1);
    }
}

/* Social Links */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.instagram-link {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.instagram-link:hover {
    color: var(--text-primary);
    transform: scale(1.1);
}

.instagram-link svg {
    width: 24px;
    height: 24px;
}

/* Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(229, 9, 20, 0.1) 0%,
        rgba(229, 9, 20, 0.05) 25%,
        rgba(229, 9, 20, 0) 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Loading State */
body.loading .container {
    opacity: 0;
}

body:not(.loading) .container {
    opacity: 1;
    transition: opacity 0.5s ease;
}
