/* Root Variables */
:root {
    --patriot-red: #DC143C;
    --patriot-blue: #002868;
    --patriot-white: #FFFFFF;
    --eagle-gold: #FFD700;
    --rebel-orange: #FF6B35;
    --dark-bg: #0A0A0A;
    --card-bg: #1A1A1A;
    --text-light: #F0F0F0;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--patriot-blue) 100%);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title {
    font-size: 3rem;
    color: var(--eagle-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--eagle-gold);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    color: var(--eagle-gold) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--eagle-gold) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--patriot-red) 0%,
        var(--patriot-blue) 50%,
        var(--dark-bg) 100%
    );
    opacity: 0.8;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><path d="M25 5l5 15h15l-12 9 5 15-13-9-13 9 5-15-12-9h15z" fill="%23FFD700" opacity="0.1"/></svg>') repeat;
    animation: starfield 20s linear infinite;
}

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

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.eagle-image {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    border: 3px solid var(--eagle-gold);
}

.eagle-image:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Countdown Timer */
.countdown-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    border: 2px solid var(--eagle-gold);
}

.countdown-label {
    font-size: 1.5rem;
    color: var(--eagle-gold);
    margin-bottom: 1rem;
}

.countdown-display {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--patriot-red);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* CTA Buttons */
.pulse-btn {
    animation: pulse 2s infinite;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.btn-warning {
    background: linear-gradient(45deg, var(--eagle-gold), var(--rebel-orange));
    border: none;
    color: var(--dark-bg);
    font-weight: 700;
}

.btn-outline-light {
    border: 2px solid var(--patriot-white);
    color: var(--patriot-white);
    font-weight: 600;
}

.btn-outline-light:hover {
    background: var(--patriot-white);
    color: var(--dark-bg);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: var(--eagle-gold);
    color: var(--dark-bg);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Rebellion Section */
.rebellion-section {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--patriot-blue) 100%);
    position: relative;
}

.story-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--eagle-gold);
    transition: transform 0.3s ease;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--eagle-gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.card-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.hashtag {
    background: var(--patriot-red);
    color: var(--patriot-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Migration Alert */
.migration-alert {
    background: linear-gradient(45deg, var(--patriot-red), var(--rebel-orange));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: var(--patriot-white);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.4);
}

.migration-countdown {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* How to Buy Section */
.how-to-buy-section {
    background: var(--dark-bg);
    position: relative;
}

.buy-step {
    background: linear-gradient(135deg, var(--card-bg), var(--patriot-blue));
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--eagle-gold);
    height: 100%;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.buy-step:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.buy-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--eagle-gold);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 1.5rem;
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    color: var(--eagle-gold);
    margin-bottom: 1rem;
}

.buy-step h3 {
    color: var(--patriot-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.buy-step p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* Contract Info */
.contract-info {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid var(--eagle-gold);
}

.contract-info h4 {
    color: var(--eagle-gold);
    margin-bottom: 1rem;
}

.contract-address {
    font-family: 'Orbitron', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    word-break: break-all;
}

/* Community Section */
.community-section {
    background: linear-gradient(135deg, var(--patriot-blue), var(--patriot-red));
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.community-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--patriot-white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
}

.community-link:hover {
    background: var(--patriot-white);
    color: var(--patriot-blue);
    text-decoration: none;
    transform: translateY(-5px);
    border-color: var(--eagle-gold);
}

.community-link i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-link span {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.community-link small {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer-section {
    background: var(--dark-bg);
    border-top: 2px solid var(--eagle-gold);
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.footer-links a {
    color: var(--eagle-gold);
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: var(--patriot-white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown-display {
        font-size: 1.5rem;
    }
    
    .community-links {
        flex-direction: column;
        align-items: center;
    }
    
    .community-link {
        width: 100%;
        max-width: 300px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        text-align: center;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .countdown-display {
        font-size: 1.2rem;
    }
    
    .buy-step {
        padding: 1.5rem;
    }
    
    .story-card {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-card, .buy-step, .community-link {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-patriot-red { color: var(--patriot-red) !important; }
.text-patriot-blue { color: var(--patriot-blue) !important; }
.text-eagle-gold { color: var(--eagle-gold) !important; }
.bg-patriot-red { background-color: var(--patriot-red) !important; }
.bg-patriot-blue { background-color: var(--patriot-blue) !important; }
.bg-eagle-gold { background-color: var(--eagle-gold) !important; }
