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

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Matrix Background Animation */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000;
    overflow: hidden;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 98px,
        rgba(0, 255, 0, 0.03) 100px
    );
    animation: matrix-lines 20s linear infinite;
}

@keyframes matrix-lines {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

/* Mobile Warning */
.mobile-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.warning-content {
    text-align: center;
    padding: 40px;
    border: 2px solid #00ff00;
    background: #001100;
    border-radius: 10px;
    max-width: 400px;
}

.warning-content h3 {
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 17, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00ff00;
    z-index: 1000;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.logo-subtitle {
    font-size: 12px;
    color: #00aa00;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #00ff00;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 5px #00ff00;
}

/* Language Banner */
.language-banner {
    margin-top: 80px;
    background: linear-gradient(90deg, #001100, #002200, #001100);
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #00ff00;
}

.lang-en, .lang-fr {
    margin: 0 20px;
    font-size: 14px;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8), rgba(0, 17, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px #00ff00;
}

.typing-text {
    border-right: 3px solid #00ff00;
    animation: typing 3s steps(20), blink 1s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: #00ff00; }
    51%, 100% { border-color: transparent; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00aa00;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border: 2px solid #00ff00;
    background: transparent;
    color: #00ff00;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.btn-primary {
    background: #00ff00;
    color: #000;
}

.btn-primary:hover {
    background: transparent;
    color: #00ff00;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 15px #00ff00;
}

/* Security Section */
.security {
    background: linear-gradient(135deg, #001100, #000000);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.security-card {
    background: rgba(0, 17, 0, 0.5);
    border: 1px solid #00ff00;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.security-card:hover::before {
    opacity: 1;
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

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

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.security-card h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.security-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Rules Section */
.rules {
    background: #000;
}

.rules-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.rules-column h3 {
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 10px;
}

.rules-column ul {
    list-style: none;
}

.rules-column li {
    padding: 10px 0;
    border-bottom: 1px solid #003300;
    color: #cccccc;
    position: relative;
    padding-left: 20px;
}

.rules-column li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ff00;
}

/* Escrow Section */
.escrow {
    background: linear-gradient(135deg, #000000, #001100);
}

.escrow-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 17, 0, 0.3);
    border: 1px solid #00ff00;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #00ff00;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.flow-arrow {
    font-size: 2rem;
    color: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Gallery Section */
.gallery {
    background: #000;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border: 2px solid #00ff00;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 0, 0.8);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-btn:hover {
    background: #00ff00;
    transform: translateY(-50%) scale(1.1);
}

/* Bitcoin Section */
.bitcoin {
    background: linear-gradient(135deg, #001100, #000000);
}

.bitcoin-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
}

.bitcoin-info h3 {
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.bitcoin-info ul {
    list-style: none;
    margin-top: 20px;
}

.bitcoin-info li {
    padding: 8px 0;
    color: #cccccc;
    position: relative;
    padding-left: 20px;
}

.bitcoin-info li::before {
    content: '₿';
    position: absolute;
    left: 0;
    color: #00ff00;
}

.bitcoin-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    background: rgba(0, 17, 0, 0.5);
    border: 1px solid #00ff00;
    padding: 20px;
    text-align: center;
}

.feature-card h4 {
    color: #00ff00;
    margin-bottom: 10px;
}

/* Registration Section */
.registration {
    background: #000;
}

.registration-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reg-step {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 17, 0, 0.3);
    border: 1px solid #00ff00;
    transition: all 0.3s ease;
}

.reg-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.2);
}

.reg-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.reg-step h3 {
    color: #00ff00;
    margin-bottom: 15px;
}

.reg-step p {
    color: #cccccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #001100;
    border-top: 2px solid #00ff00;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #00ff00;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 5px 0;
    color: #cccccc;
}

.footer-section li:hover {
    color: #00ff00;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #003300;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-warning {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .escrow-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .bitcoin-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00aa00;
}

/* Selection Styling */
::selection {
    background: #00ff00;
    color: #000;
}

/* Additional Animations */
@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px #00ff00; }
    50% { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
}

.hero-title {
    animation: glow 3s ease-in-out infinite;
}

