/* Dancing with Shadows Landing Page Styles */

/* General Styles */
.dws-page {
    font-family: 'Bellefair', serif;
    color: #333;
    line-height: 1.6;
}

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

/* Hero Section */
.dws-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Animated shadow particles */
.shadow-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(1px);
    animation: float-up linear infinite;
}

@keyframes float-up {
    from {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    to {
        transform: translateY(-100vh) translateX(100px) scale(1.5);
        opacity: 0;
    }
}

/* Mystical fog effect */
.fog-layer {
    position: absolute;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><defs><filter id="fog"><feTurbulence type="fractalNoise" baseFrequency="0.01" numOctaves="2" result="turbulence"/><feColorMatrix in="turbulence" type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23fog)" opacity="0.3" fill="white"/></svg>') repeat-x;
    animation: drift 60s linear infinite;
    opacity: 0.2;
}

@keyframes drift {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 40px 20px;
}

.dws-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.release-date {
    font-size: 1.5rem;
    color: #e94560;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tagline {
    font-size: 1.2rem;
    color: #a8b2d1;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Countdown Timer */
.countdown-container {
    margin: 25px 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 70px;
    backdrop-filter: blur(10px);
}

.countdown-value {
    font-size: 2rem;
    font-weight: bold;
    color: #e94560;
    line-height: 1;
    font-family: 'Bellefair', serif;
}

.countdown-label {
    font-size: 0.8rem;
    color: #a8b2d1;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.8;
}

.launched {
    font-size: 2rem;
    color: #10b981;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Social Proof */
.social-proof {
    margin: 20px 0 30px;
    display: flex;
    justify-content: center;
}

.social-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a8b2d1;
    font-size: 0.9rem;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-text {
    color: #a8b2d1;
    font-size: 0.9rem;
}

.steam-icon-link {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    transition: all 0.2s ease;
}

.steam-icon-small {
    width: 20px;
    height: 20px;
    fill: #66c0f4;
    transition: all 0.2s ease;
}

.steam-icon-link:hover .steam-icon-small {
    fill: #a8d5ff;
    transform: scale(1.1);
}

.viewing-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

#viewing-count,
#wishlist-counter {
    color: #e94560;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Hero Signup Form */
.hero-signup {
    margin: 40px 0 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-signup-form {
    text-align: center;
}

.hero-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.hero-email-input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid #e94560;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    font-family: 'Bellefair', serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-email-input:focus {
    outline: none;
    border-color: #ff6b7d;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
}

.hero-submit-btn {
    padding: 18px 36px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bellefair', serif;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.hero-submit-btn:hover {
    background: #ff6b7d;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.6);
}

/* Touch feedback for mobile */
.hero-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.4);
}

.hero-signup-benefit {
    color: #a8b2d1;
    font-size: 0.95rem;
    margin-top: 10px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-signup-benefit img {
    filter: brightness(0) saturate(100%) invert(91%) sepia(21%) saturate(7480%) hue-rotate(308deg) brightness(97%) contrast(93%);
}

#spots-remaining {
    color: #10b981;
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-signup-benefit.urgency {
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

/* Progress Bar */
.signup-progress {
    margin: 15px auto 10px;
    max-width: 400px;
}

.progress-bar-container {
    position: relative;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e94560 0%, #ff6b7d 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-progress {
    0%, 100% {
        box-shadow: 0 0 10px rgba(233, 69, 96, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.8);
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.trust-indicator {
    color: #10b981;
    font-size: 0.85rem;
    margin-top: 8px;
    margin-bottom: 0;
    opacity: 0.85;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.trust-indicator img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(41%) saturate(267%) hue-rotate(122deg) brightness(96%) contrast(89%);
}


/* About Section */
.dws-about {
    padding: 80px 0;
    background: #f8f9fa;
}

.dws-about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.dws-about .lead {
    font-size: 1.3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 30px;
    color: #444;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.dws-about p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* Features Section */
.dws-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.dws-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cdefs%3E%3Cpattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"%3E%3Cpath d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(233,69,96,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23grid)" /%3E%3C/svg%3E');
    opacity: 0.3;
}

.dws-features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1) 0%, transparent 50%, rgba(233, 69, 96, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
    border-color: rgba(233, 69, 96, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.feature-icon img {
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(91%) sepia(21%) saturate(7480%) hue-rotate(308deg) brightness(97%) contrast(93%);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(1449%) hue-rotate(316deg) brightness(95%) contrast(91%);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #e94560;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: #a8b2d1;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.dws-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.dws-cta h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
}

.dws-cta p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #a8b2d1;
}

.signup-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.email-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #0f3460;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    font-family: 'Bellefair', serif;
}

.email-input::placeholder {
    color: #888;
}

.email-input:focus {
    outline: none;
    border-color: #e94560;
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    padding: 15px 30px;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bellefair', serif;
}

.submit-btn:hover {
    background: #d63651;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3);
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    margin-top: 20px;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #10b981;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
}

/* Footer */
.dws-footer {
    padding: 40px 0;
    background: #0a0a0f;
    color: #888;
    text-align: center;
}

.social-links {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-icon {
    width: 28px;
    height: 28px;
    fill: #a8b2d1;
    transition: all 0.3s ease;
}

.footer-social-link:hover .footer-icon {
    fill: #e94560;
    transform: translateY(-2px);
}

/* Special handling for Glass Umbrella logo */
.glass-umbrella-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(75%) sepia(15%) saturate(400%) hue-rotate(180deg) brightness(95%) contrast(87%);
}

.footer-social-link:hover .glass-umbrella-icon {
    filter: brightness(0) saturate(100%) invert(51%) sepia(95%) saturate(1449%) hue-rotate(316deg) brightness(95%) contrast(91%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dws-logo {
        max-width: 400px;
    }
    
    .release-date {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .countdown-timer {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px 12px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
    
    .social-proof-item {
        font-size: 0.85rem;
        padding: 6px 16px;
    }
    
    .hero-form-group {
        flex-direction: column;
    }
    
    .hero-email-input,
    .hero-submit-btn {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .hero-email-input {
        padding: 20px 24px;
        margin-bottom: 12px;
    }
    
    .hero-submit-btn {
        padding: 20px 36px;
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .dws-about h2,
    .dws-features h2,
    .dws-cta h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .email-input,
    .submit-btn {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .email-input {
        padding: 18px 24px;
        margin-bottom: 12px;
    }
    
    .submit-btn {
        padding: 18px 36px;
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .trust-indicator {
        font-size: 0.8rem;
        margin-top: 12px;
    }
    
    /* Better touch targets */
    button, 
    input[type="email"], 
    input[type="submit"] {
        min-height: 48px; /* Google's recommended touch target size */
    }
    
    /* Add more spacing between elements on mobile */
    .hero-signup {
        margin: 50px 0 40px;
    }
    
    .hero-signup-benefit {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .signup-progress {
        margin: 12px auto 8px;
    }
    
    .progress-bar-container {
        height: 18px;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
}