/* General Style Settings */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0d0d0d; /* Very dark background */
    color: #e0e0e0; /* Light grey text */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrollbar from animations */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

a {
    color: #00bcd4; /* Accent color: Bright Teal/Cyan */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #008c9e; /* Darker Teal on hover */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #f0f0f0; /* Near white for headings */
    text-align: center;
    margin-bottom: 20px;
}

button {
    background-color: #00bcd4; /* Accent color for buttons */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #008c9e; /* Darker accent on hover */
}

/* Navbar Styles */
.navbar {
    background-color: #1a1a2e; /* Dark navy for navbar */
    padding: 1em 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo a {
    color: #00bcd4; /* Accent color */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    /* STXX hareket animasyonu - Daha fazla hareket */
    animation: stxx-move-animation 2s ease-in-out infinite alternate; 
}

/* STXX Yazısı Hareket Animasyonu - Daha fazla hareket eden hali */
@keyframes stxx-move-animation {
    0% { transform: translateX(0); }
    50% { transform: translateX(15px); /* Sağa doğru daha da fazla hareket */ }
    100% { transform: translateX(-15px); /* Sola doğru daha da fazla hareket */ }
}


.navbar .logo a:hover {
    color: #008c9e;
}

.nav-and-wallet {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between nav and social links */
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 30px;
}

.navbar nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05em;
    transition: color 0.3s ease;
}

.navbar nav ul li a:hover {
    color: #00bcd4;
}

.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    color: #e0e0e0;
    font-size: 1.5em;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Specific styling for X (Twitter) icon */
.social-links a[aria-label="STXX X Account"] svg {
    fill: currentColor;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
}

.social-links a:hover {
    color: #00bcd4; /* Accent color on hover */
    transform: translateY(-3px);
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.8)), url('../img/blue-matrix-bg.gif') no-repeat center center/cover; /* Mavi matrix GIF arka planı */
    color: #ffffff;
    text-align: center;
    padding: 10em 0 5em;
    position: relative;
    overflow: hidden;
    margin-top: 80px; /* Navbar height compensation */
}

/* Yanıp Sönen Metin Animasyonu */
.blink-text {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0.5;
        color: #00bcd4; /* Yanıp sönerken accent rengi */
    }
}

/* Yanıp Sönen Buton Animasyonu */
.blink-button {
    animation: buttonBlinker 2s infinite;
}

@keyframes buttonBlinker {
    0%, 100% {
        background: linear-gradient(45deg, #00bcd4, #008c9e); /* Başlangıç rengi */
        box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
    }
    50% {
        background: linear-gradient(45deg, #008c9e, #00bcd4); /* Yanıp sönerken daha koyu/açık renk */
        box-shadow: 0 8px 30px rgba(0, 188, 212, 0.7); /* Daha belirgin gölge */
        transform: translateY(-3px); /* Hafif yukarı hareket */
    }
}


.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8em;
    margin-bottom: 0.5em;
    text-shadow: 0 0 15px rgba(0, 188, 212, 0.7); /* Mavi tonlu gölge */
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 2em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons (Global styling) */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-top: 3em;
    align-items: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #00bcd4, #008c9e); /* Gradient for buttons with new accent */
    color: #ffffff;
    padding: 1.2em 2.5em;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3); /* Accent shadow */
    min-width: 250px;
}

.cta-button:hover {
    background: linear-gradient(45deg, #008c9e, #00bcd4);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 188, 212, 0.5);
}

.cta-button i {
    margin-right: 10px;
    font-size: 1.3em;
}

/* Footer Styles */
footer {
    background-color: #1a1a2e; /* Dark navy for footer */
    color: #e0e0e0;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 4em;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.5);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #00bcd4;
    font-size: 2.5em;
    animation: bounce 2s infinite;
    z-index: 50; /* Ensure it's above other elements */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Progress Bar (at the very top of the body) */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, #00bcd4, #008c9e); /* Blue gradient */
    width: 0%;
    z-index: 9999; /* Always on top */
}

/* Back to Home Button (For page-header in Whitepaper/Roadmap) */
.back-to-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00bcd4; /* Accent color */
    color: #ffffff;
    padding: 0.8em 1.5em;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 2em; /* Space from content above */
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.back-to-home-button:hover {
    background-color: #008c9e;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
}

.back-to-home-button i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .navbar nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .nav-and-wallet {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .social-links {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .cta-buttons {
        flex-direction: column;
    }
}