/* GamePassTracker.net - Coming Soon Page Styles */

/* CSS Custom Properties */
:root {
    --primary-green: #107C10;
    --neon-green: #00FF88;
    --dark-bg: #0A0A0A;
    --card-bg: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --accent-glow: #00FF8844;
    --border-glow: #107C1066;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Star Background */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: zoom 20s infinite linear;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 40px 60px, #fff, transparent),
        radial-gradient(1px 1px at 120px 30px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 160px 90px, #eee, transparent);
    background-repeat: repeat;
    background-size: 300px 150px;
    animation: zoom 30s infinite linear;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 60px 80px, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 180px 40px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    animation: zoom 40s infinite linear;
}

@keyframes zoom {
    from {
        transform: scale(1) translateY(0);
    }
    to {
        transform: scale(1.1) translateY(-100px);
    }
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

/* Header */
.header {
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
    animation: float 3s ease-in-out infinite;
}

.brand-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--accent-glow);
}

.domain {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

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

/* Hero Section */
.hero {
    text-align: center;
    max-width: 800px;
    margin: 4rem 0;
}

.hero-content {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--text-primary), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.subheadline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.launch-info {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(16, 124, 16, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-green);
}

.launch-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.launch-date {
    color: var(--neon-green);
    font-weight: 600;
    text-shadow: 0 0 10px var(--neon-green);
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px var(--accent-glow);
    }
    to {
        text-shadow: 0 0 30px var(--neon-green), 0 0 40px var(--neon-green);
    }
}

/* Card Game Section */
.game-section {
    margin: 2rem 0;
}

.game-container {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.game-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--neon-green);
}

.game-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Iframe Wrapper */
.iframe-wrapper {
    position: relative;
    display: inline-block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-glow);
    background: #000000;
}

.game-iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    background: #000000;
}

/* Game Info */
.game-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glow);
}

.game-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.game-tip {
    color: var(--neon-green);
    font-size: 0.8rem;
    font-style: italic;
}

/* Inline Icon Styles */
.inline-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 6px;
    display: inline-block;
    filter: drop-shadow(0 0 3px currentColor);
}

/* Desktop iframe sizing */
@media (min-width: 769px) {
    .iframe-wrapper {
        width: 800px;
        height: 600px;
        max-width: 90vw;
        max-height: 70vh;
    }
}

/* Newsletter Section */
.newsletter {
    margin: 3rem 0 2rem;
    max-width: 500px;
    width: 100%;
}

.newsletter-container {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-glow);
    text-align: center;
}

.newsletter-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--accent-glow);
    background: rgba(255, 255, 255, 0.1);
}

.email-input::placeholder {
    color: var(--text-secondary);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(45deg, var(--primary-green), var(--neon-green));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 124, 16, 0.4);
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.notify-btn:hover .btn-icon {
    transform: translateX(3px);
}

.success-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--neon-green);
    font-weight: 600;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 10px;
    border: 1px solid var(--neon-green);
    animation: fadeInUp 0.5s ease;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 20px;
    height: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer - Sticky and Clean */
.footer {
    margin-top: auto;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Single Company Copyright */
.company-copyright {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    opacity: 0.9;
}

/* Ensure body takes full height for sticky footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-container {
    flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-container {
        padding: 0.5rem;
        justify-content: flex-start;
        padding-top: 6rem;
    }
    
    .header {
        top: 1rem;
        position: fixed;
        width: 100%;
        padding: 0 1rem;
    }
    
    .logo-container {
        justify-content: center;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(10px);
        padding: 0.5rem 1rem;
        border-radius: 15px;
        border: 1px solid var(--border-glow);
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    .brand-name {
        font-size: 1.25rem;
    }
    
    .hero {
        margin: 1rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .headline {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .subheadline {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .launch-info {
        margin-top: 1rem;
        padding: 0.75rem;
    }
    
    .game-section {
        margin: 1rem 0;
    }
    
    .game-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .game-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .game-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .iframe-wrapper {
        width: 100%;
        max-width: 350px;
        height: 260px;
        margin: 0 auto;
    }
    
    .game-iframe {
        width: 100%;
        height: 100%;
    }
    
    .game-info {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .game-note {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .game-tip {
        font-size: 0.75rem;
    }
    
    .inline-icon {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }
    
    .newsletter {
        margin: 1.5rem 0 1rem;
        padding: 0 0.5rem;
    }
    
    .newsletter-container {
        padding: 1.5rem 1rem;
    }
    
    .newsletter-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .email-input {
        min-width: 100%;
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .notify-btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .footer {
        margin-top: 1rem;
        padding: 1.5rem 1rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .social-links {
        margin-bottom: 0.75rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .company-copyright {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .main-container {
        padding-top: 5rem;
    }
    
    .header {
        top: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .logo-container {
        padding: 0.375rem 0.75rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
    
    .domain {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 1.25rem 0.75rem;
        margin: 0 0.25rem;
    }
    
    .headline {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .subheadline {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }
    
    .launch-info {
        padding: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .launch-text {
        font-size: 0.8rem;
    }
    
    .game-container {
        padding: 1rem 0.75rem;
        margin: 0 0.25rem;
    }
    
    .game-title {
        font-size: 1.25rem;
    }
    
    .game-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .iframe-wrapper {
        width: 100%;
        max-width: 280px;
        height: 210px;
    }
    
    .game-note {
        font-size: 0.75rem;
    }
    
    .game-tip {
        font-size: 0.7rem;
    }
    
    .inline-icon {
        width: 14px;
        height: 14px;
        margin-right: 3px;
    }
    
    .newsletter-container {
        padding: 1.25rem 0.75rem;
    }
    
    .newsletter-title {
        font-size: 1rem;
    }
    
    .newsletter-description {
        font-size: 0.75rem;
    }
    
    .email-input {
        padding: 0.75rem;
    }
    
    .notify-btn {
        padding: 0.75rem 1.25rem;
    }
    
    .company-copyright {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Mobile Touch Optimizations */
@media (max-width: 768px) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .start-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .notify-btn {
        padding: 1rem 1.5rem;
        min-height: 48px;
    }
    
    .email-input {
        min-height: 48px;
        padding: 0.875rem 1rem;
    }
    
    /* Prevent iOS zoom on input focus */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Touch feedback */
    .start-btn:active,
    .notify-btn:active {
        transform: scale(0.95);
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .main-container {
        padding-top: 4rem;
    }
    
    .hero {
        margin: 0.5rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .headline {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .subheadline {
        margin-bottom: 1rem;
    }
    
    .game-section {
        margin: 0.5rem 0;
    }
    
    #gameCanvas {
        height: 160px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .stars, .stars2, .stars3 {
        animation: none;
    }
    
    .logo-icon {
        animation: none;
    }
    
    .headline {
        animation: none;
    }
    
    .start-btn, .notify-btn {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #FFFFFF;
        --border-glow: #FFFFFF;
        --neon-green: #00FF00;
    }
    
    .hero-content,
    .game-container,
    .newsletter-container {
        border-width: 2px;
    }
}
