/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --tiffany-blue: #0abab5;
    --tiffany-light: #7fffd4;
    --gold: #ffd700;
    --gold-dark: #daa520;
    --purple: #8a2be2;
    --purple-light: #9370db;
    --mint-green: #98ff98;
    --mint-dark: #7ccd7c;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a1a2e 100%);
    min-height: 100vh;
}

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

/* New Header Styles */
.header {
    width: 100%;
    height: 500px;
    position: relative;
    overflow: hidden;
}

.header-background {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(10, 186, 181, 0.1) 0%, 
            rgba(138, 43, 226, 0.15) 50%, 
            rgba(255, 215, 0, 0.1) 100%),
        url('img/logotop.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 26, 0.6) 0%,
        rgba(5, 5, 16, 0.6) 100%
    );
    display: flex;
    align-items: center;
}

.header-content {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.header-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--tiffany-blue), var(--mint-green), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(10, 186, 181, 0.3);
    font-weight: 700;
    line-height: 1.2;
}

.header-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 35px;
    color: var(--text-gray);
    font-weight: 300;
    line-height: 1.4;
}

.cta-section .highlight {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--gold);
    font-weight: 600;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-bg);
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(255, 215, 0, 0.3),
        0 0 20px rgba(10, 186, 181, 0.2);
    border: 2px solid transparent;
    margin-bottom: 20px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(255, 215, 0, 0.4),
        0 0 30px rgba(10, 186, 181, 0.3);
    background: linear-gradient(45deg, var(--gold-dark), var(--gold));
}

.cta-icon {
    font-size: 1.6rem;
    animation: bounce 2s infinite;
}

.cta-subtext {
    color: var(--tiffany-light);
    font-size: 1.1rem;
    font-style: italic;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    margin: -80px auto 20px;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(10, 186, 181, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(10, 186, 181, 0.2);
}

/* Tab Styles */
.tabs {
    display: flex;
    background: linear-gradient(135deg, var(--dark-bg), #1a1a2e);
    border-bottom: 3px solid var(--tiffany-blue);
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-button {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.tab-button:hover {
    background: rgba(10, 186, 181, 0.1);
    color: var(--tiffany-light);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--tiffany-blue), var(--purple-light));
    color: var(--text-light);
    border-bottom-color: var(--gold);
}

.tab-icon {
    font-size: 1.2rem;
}

/* Tab Content */
.tab-content {
    padding: 40px 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Casino Styles */
.featured-casino {
    margin-bottom: 40px;
}

.casino-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(10, 186, 181, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(10, 186, 181, 0.2);
    border-color: var(--tiffany-blue);
}

.casino-card.featured {
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15), 
        rgba(10, 186, 181, 0.2),
        rgba(152, 255, 152, 0.1));
    border: 2px solid var(--gold);
    box-shadow: 
        0 5px 20px rgba(255, 215, 0, 0.3),
        0 0 25px rgba(10, 186, 181, 0.2);
}

.rank-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: linear-gradient(45deg, var(--gold), var(--gold-dark));
    color: var(--dark-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--tiffany-blue);
}

.casino-card h3 {
    color: var(--tiffany-light);
    margin-bottom: 15px;
    font-size: 1.4rem;
    padding-right: 30px;
}

.casino-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.visit-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--tiffany-blue), var(--purple-light));
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: 0 3px 10px rgba(10, 186, 181, 0.3);
}

.visit-button:hover {
    background: linear-gradient(45deg, var(--purple-light), var(--tiffany-blue));
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(10, 186, 181, 0.4);
}

/* NFT Styles */
.nft-content {
    max-width: 800px;
}

.nft-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(10, 186, 181, 0.3);
}

.nft-section h3 {
    color: var(--tiffany-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.nft-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

.nft-section ul, .nft-section ol {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.nft-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.marketplace-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--tiffany-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.marketplace-card h4 {
    color: var(--mint-green);
    margin-bottom: 10px;
}

/* Exchange Styles */
.exchange-content {
    max-width: 1000px;
}

.wallet-section, .exchange-section, .guide-section {
    margin-bottom: 40px;
}

.wallet-section h3, .exchange-section h3, .guide-section h3 {
    color: var(--tiffany-blue);
    margin-bottom: 20px;
    font-size: 1.4rem;
}

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

.wallet-card, .exchange-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
    padding: 20px;
    border-radius: 12px;
    border-top: 4px solid var(--tiffany-blue);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.wallet-card h4, .exchange-card h4 {
    color: var(--mint-green);
    margin-bottom: 10px;
}

.guide-section ol {
    margin-left: 20px;
    color: var(--text-gray);
}

.guide-section li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* News Styles */
.news-content {
    max-width: 800px;
}

.news-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(10, 186, 181, 0.3);
}

.news-section h3 {
    color: var(--tiffany-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.news-section p {
    line-height: 1.6;
    color: var(--text-gray);
}

/* SEO Section */
.seo-section {
    background: linear-gradient(135deg, var(--dark-bg), #1a1a2e);
    padding: 40px 0;
    margin-top: 40px;
    border-top: 3px solid var(--tiffany-blue);
}

.seo-section h2 {
    color: var(--tiffany-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.seo-section h3 {
    color: var(--mint-green);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.seo-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--darker-bg), #0a0a1a);
    color: var(--text-light);
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(10, 186, 181, 0.3);
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--tiffany-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(10, 186, 181, 0.2);
    }
    50% {
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(10, 186, 181, 0.3);
    }
    100% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(10, 186, 181, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        padding: 15px;
        min-width: auto;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .header-content .subtitle {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .cta-section .highlight {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 16px 30px;
        font-size: 1.2rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .wallet-grid, .exchange-grid, .marketplace-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header {
        height: 550px;
    }
    
    .main-content {
        margin: -60px auto 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content h1 {
        font-size: 1.8rem;
    }
    
    .header-content .subtitle {
        font-size: 1rem;
    }
    
    .cta-section .highlight {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 14px 25px;
        font-size: 1.1rem;
    }
    
    .cta-subtext {
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 20px 10px;
    }
    
    .header {
        height: 550px;
    }
    
    .main-content {
        margin: -40px auto 20px;
    }
    
    .casino-card {
        padding: 20px 15px;
    }
    
    .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 360px) {
    .header-content h1 {
        font-size: 1.6rem;
    }
    
    .header-content .subtitle {
        font-size: 0.9rem;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .header {
        height: 300px;
    }
}