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

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    background: url('../images/backgrounds/bg3.png') no-repeat center center fixed; /* Relative path from styles.css */
    background-size: cover;
    color: #fff;
    overflow-x: hidden;
    background-color: #1a1a1a; /* Fallback color if image fails */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #FF7518;
    text-shadow: 0 0 10px #FF7518;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

nav a:hover {
    color: #FF7518;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    text-shadow: 0 0 15px #FF7518;
}

.hero p {
    font-size: 20px;
    margin: 20px 0;
}

.cta {
    background: #FF7518;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta:hover {
    background: #00ffff;
}

.cta.disabled {
    background: #666;
    cursor: not-allowed;
    pointer-events: none;
}

.cta.disabled:hover {
    background: #666;
}

#gallery {
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
}

#gallery h2 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nft-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    height: 460px; /* 420px image + 20px padding + 20px for h3 */
}

.nft-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 0 20px #FF7518;
}

.nft-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.nft-card h3 {
    padding: 10px;
    text-align: center;
    font-size: 18px;
    height: 20px;
    overflow: hidden;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 200;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 2px solid #FF7518;
}

.modal-content img {
    max-width: 100%;
    height: 420px;
    width: 420px;
    object-fit: cover;
    border-radius: 5px;
}

.close {
    color: #FF7518;
    font-size: 30px;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close:hover {
    color: #00ffff;
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

#about {
    padding: 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
}

#about h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
}

/* Team Section Styling */
#team {
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

#team h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FF7518;
}

.team-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    color: #FF7518;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.team-link {
    display: inline-block;
    background: #FF7518;
    color: #000;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.team-link:hover {
    background: #00ffff;
    color: #000;
}

/* Roadmap Section Styling */
#roadmap {
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
}

#roadmap h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 40px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #00ffff;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: #FF7518;
    border: 2px solid #00ffff;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 117, 24, 0.5);
    transition: transform 0.3s;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 10px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 10px;
}

.timeline-content:hover {
    transform: scale(1.05);
}

.timeline-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    color: #FF7518;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
}

/* Staking Section Styling */
#staking {
    padding: 50px;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
}

#staking h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
}

#staking p {
    font-size: 20px;
    margin-bottom: 20px;
}

/* Footer Styling */
footer {
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    border-top: 2px solid #00ffff;
}

footer p {
    font-size: 16px;
    margin-bottom: 10px;
}

.twitter-link {
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.twitter-link:hover {
    color: #FF7518;
}

.twitter-link .fab {
    font-size: 24px;
    color: #1DA1F2; /* Twitter blue */
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .nft-grid {
        grid-template-columns: 1fr;
    }
    .nft-card {
        height: 460px;
    }
    .nft-card img {
        height: 420px;
    }
    .modal-content img {
        height: 420px;
        width: 420px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 60px;
    }
    .timeline-dot {
        position: absolute;
        left: 10px;
        top: 0;
    }
    .timeline-content {
        width: 90%;
        margin-left: 40px;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 40px;
    }
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: 0;
    }
}