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

:root {
    --primary: #00ff00;
    --primary-dark: #00cc00;
    --secondary: #0a0a0a;
    --dark: #000000;
    --text: #ffffff;
    --text-dim: #888888;
    --gradient: linear-gradient(135deg, #001a00 0%, #003300 100%);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
}

/* Matrix Background Animation */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 10px var(--primary));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glitch {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate(2px, 2px); }
}

.vs {
    font-size: 2rem;
    color: var(--text-dim);
    letter-spacing: 5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 40px rgba(0, 255, 0, 0.7);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-dim);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.globe {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 255, 0, 0.3), transparent 70%);
    border: 3px solid var(--primary);
    box-shadow: 0 0 60px rgba(0, 255, 0, 0.5), inset 0 0 60px rgba(0, 255, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.trivia-topics {
    position: absolute;
    text-align: center;
    z-index: 10;
}

.topic {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary);
    animation: topicFade 3s ease-in-out infinite;
}

@keyframes topicFade {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    10%, 90% { opacity: 1; transform: scale(1); }
}

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

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--gradient);
}

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

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 255, 0, 0.3);
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-icon .material-icons {
    font-size: 4rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.8;
}

/* Download Section */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.store-button:hover {
    border-color: var(--primary);
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-5px);
}

.store-text {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.store-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    background: var(--text);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.qr-text {
    color: var(--text-dim);
}

/* Status Section */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.status-card {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
}

.status-indicator {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 30px var(--primary);
}

.pulse {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.status-text {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.status-metric {
    text-align: center;
    padding: 1.5rem 0;
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.ticker-section {
    background: rgba(0, 255, 0, 0.03);
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    padding: 3rem 2rem;
}

.activity-ticker {
    width: 100%;
    overflow: hidden;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 8px;
    padding: 1.5rem 0;
    position: relative;
}

.ticker-content {
    display: flex;
    gap: 4rem;
    animation: ticker 40s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-icon {
    color: var(--primary);
    font-size: 1.2rem !important;
}

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

/* Feedback Form */
.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff0000;
    color: #ff6666;
    display: block;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.copy {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 2px solid var(--text-dim);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

/* Support Section */
.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.support-icon {
    margin-bottom: 1rem;
}

.support-icon .material-icons {
    font-size: 5rem;
    color: var(--primary);
}

.support-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.support-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--secondary);
    border-top: 2px solid var(--primary);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-dim);
    line-height: 1.8;
}

.footer-section a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    text-align: center;
    color: var(--text-dim);
}

.footer-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Responsive */

/* Tablet and below */
@media (max-width: 1024px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .globe-container {
        width: 350px;
        height: 350px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .nav-links {
        gap: 0.75rem;
        font-size: 0.9rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 5rem 1rem 2rem;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .vs {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .globe-container {
        width: 250px;
        height: 250px;
    }
    
    .topic {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .store-button {
        width: 100%;
        justify-content: center;
    }
    
    .ticker-content {
        animation: ticker 25s linear infinite;
    }
    
    .ticker-item {
        font-size: 0.95rem;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        align-items: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .globe-container {
        width: 200px;
        height: 200px;
    }
    
    .topic {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-icon .material-icons {
        font-size: 3rem;
    }
    
    .support-icon .material-icons {
        font-size: 4rem;
    }
}
