:root {
    --primary: #9945FF;
    --secondary: #14F195;
    --accent: #00FFA3;
    --background: #131419;
    --card-bg: #1E1E24;
    --text: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    background-color: rgba(19, 20, 25, 0.9);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-align: center;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.background-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 20, 25, 0.5);
    background-image: url('https://i.imgur.com/S6T4oJi.gif');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* media queries for mobile responsiveness in different orientations */
@media (max-width: 768px) and (orientation: portrait) {
    .background-gif {
        background-size: auto 100%;
        background-position: center center;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .background-gif {
        background-size: 100% auto;
        background-position: center center;
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(153, 69, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(20, 241, 149, 0.3);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--text);
}

.team {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.05), rgba(20, 241, 149, 0.05));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-img {
    width: 100%;
    height: 250px;
    background-color: #2A2A35;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--text);
}

.member-info p {
    color: #ADB5BD;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

/* live price chart */

.price-chart-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(20, 241, 149, 0.05), rgba(153, 69, 255, 0.05));
}

.chart-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary);
    background-color: var(--card-bg);
}

#dexscreener-embed {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    height: 0;
}

@media(min-width: 1400px) {
    #dexscreener-embed {
        padding-bottom: 65%;
    }
}

#dexscreener-embed iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    border: 0;
    display: block;
}

#dexscreener-embed iframe {
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    border: 0;
    display: block;
}

.chart-action {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.trade-btn {
    font-size: 18px;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    box-shadow: 0 5px 15px rgba(153, 69, 255, 0.4);
}

.trade-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(153, 69, 255, 0.6);
}

/* community posts */
.community-posts {
    padding: 100px 0;
    background-color: var(--background);
}

.posts-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.posts-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.post-item:hover {
    border-color: var(--primary);
}

.post-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.post-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #2A2A35;
}

.user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text);
}

.user-info a {
    color: var(--secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.user-info a:hover {
    color: var(--accent);
}

.expand-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: transform 0.3s ease;
}

.post-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.post-item.expanded .post-content {
    max-height: 1000px;
    padding: 15px;
}

.post-text {
    margin-bottom: 15px;
}

.post-media {
    border-radius: 5px;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    display: block;
}

footer {
    background-color: #0D0D11;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--text);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ADB5BD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ADB5BD;
    font-size: 14px;
}

/* media queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .nav-links {
        display: none;
        align-items: right;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .posts-controls {
        flex-direction: column;
        align-items: center;
    }
}

/* portrait specific adjustments */
@media (max-width: 768px) and (orientation: portrait) {
    .hero h1 {
        font-size: 36px;
        margin-top: 20px;
    }
    
    .hero p {
        font-size: 16px;
        padding: 0 15px;
    }
}

/* landscape specific adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 14px;
        max-width: 80%;
        margin: 0 auto 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* ensure content fits in landscape mode */
    .hero-content {
        transform: translateY(-10%);
    }
}

/* small device adjustments */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 14px;
    }
}

/* adjust hero section for different mobile orientations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh; 
        height: auto;
        padding: 100px 0 50px;  
    }
    
    .hero-content {
        padding: 20px;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    margin-left: auto; 
}
.hamburger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: #fff; 
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) and (orientation: portrait) {
    nav {
        position: relative;
        display: flex;
        align-items: center;
    }
    .logo {
        flex: 0 0 auto;
        z-index: 1002;
    }
    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 1002;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        background: #1E1E24;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        flex-direction: row !important;
        width: 100vw;
        border-radius: 0 0 12px 12px;
        padding: 80px 0 16px 0;
        z-index: 1001;
        align-items: center;
        max-height: 70vh;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        justify-content: flex-start;
    }
    .nav-links.active {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100vw;
        background: #1E1E24;
        border-bottom: 1px solid var(--primary);
        white-space: nowrap;
        justify-content: flex-start;
    }
    .nav-links li {
        margin: 0 16px;
        text-align: center;
        display: inline-block;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    nav {
        position: relative;
        display: flex;
        align-items: center;
    }
    .logo {
        flex: 0 0 auto;
        z-index: 1002;
    }
    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 1002;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        background: #1E1E24;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        flex-direction: row !important;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0 0 12px 12px;
        padding: 16px 0 16px 0;
        z-index: 1001;
        align-items: center;
        max-height: 70vh;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        justify-content: flex-start;
    }
    .nav-links.active {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        overflow-x: auto;
        overflow-y: hidden;
        width: 100vw;
        background: #1E1E24;
        border-bottom: 1px solid var(--primary);
        white-space: nowrap;
        justify-content: flex-start;
    }
    .nav-links li {
        margin: 0 16px;
        text-align: center;
        display: inline-block;
        white-space: nowrap;
    }
}

/* scrollbar for nav-links on mobile */
.nav-links::-webkit-scrollbar {
    width: 8px;
}
.nav-links::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}
.nav-links::-webkit-scrollbar-track {
    background: transparent;
}
