/* Performance-optimized CSS with critical rendering path optimization */

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

/* Improve font loading */
@font-display: swap;

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeSpeed;
    /* Improve scrolling performance on mobile */
    -webkit-overflow-scrolling: touch;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #a0a0a0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.btn-buy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, rgba(10, 10, 10, 1) 70%);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(102, 126, 234, 0.3);
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    50% { box-shadow: 0 0 40px rgba(102, 126, 234, 0.6); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-buy-main {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-buy-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

/* Sections */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

/* How to Buy Section */
.how-to-buy {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.step-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

.buy-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-uniswap, .btn-metamask {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-uniswap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-metamask {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-uniswap:hover, .btn-metamask:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

/* Tokenomics Section */
.tokenomics {
    background: #0a0a0a;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tokenomics-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tokenomics-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
}

.tokenomics-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tokenomics-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.tokenomics-card p {
    color: #a0a0a0;
    line-height: 1.6;
}

.contract-address {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contract-address h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.address-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    flex-wrap: wrap;
}

#contract-address {
    font-family: 'Monaco', 'Consolas', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #667eea;
    font-size: 0.9rem;
    word-break: break-all;
    flex: 1;
    min-width: 200px;
}

.btn-copy {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Social Proof Section */
.social-proof {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tweet-embed {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Twitter embed styling */
.twitter-tweet {
    max-width: 500px !important;
    margin: 0 auto !important;
}

.tweet-embed blockquote {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(10px) !important;
}

/* Fallback styles for when Twitter embed loads */
.tweet-embed iframe {
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.vision-text h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.vision-text p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.features-highlight {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: #667eea;
    font-size: 1.2rem;
}

.feature-item span {
    color: #ffffff;
    font-weight: 500;
}

/* Useful Links Section */
.useful-links {
    background: #0a0a0a;
}

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

.link-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    display: block;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.1);
}

.link-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.link-icon i {
    font-size: 1.5rem;
    color: white;
}

/* Custom X icon fallback */
.link-icon .fa-twitter::before {
    content: "𝕏";
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
}

/* For footer social links */
.social-links .fa-twitter::before {
    content: "𝕏";
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
}

.link-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.link-card p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.link-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #667eea;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.cta-content h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: #a0a0a0;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-note {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-main h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-main p {
    color: #a0a0a0;
    max-width: 300px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}

.footer-badge {
    margin-top: 1rem;
    text-align: center;
}

.footer-badge a {
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-badge a:hover {
    transform: translateY(-2px);
    opacity: 0.8;
}

.footer-badge img {
    max-width: 100%;
    height: auto;
}

/* Enhanced Mobile-First Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-item {
        min-width: auto;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .btn-buy-main {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tokenomics-card {
        padding: 2rem;
    }
    
    .tokenomics-value {
        font-size: 2rem;
    }
    
    .social-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .buy-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .address-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    #contract-address {
        min-width: auto;
        width: 100%;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .btn-copy {
        width: 100%;
        justify-content: center;
    }
    
    /* Enhanced Touch Targets */
    .btn-buy, .btn-primary, .btn-secondary {
        min-height: 44px;
        padding: 12px 24px;
    }
    
    /* Improved Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Better Spacing */
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 3rem 0;
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .btn-buy-main {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 2rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    .step-card, .tokenomics-card, .link-card {
        padding: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .tokenomics-value {
        font-size: 1.8rem;
    }
    
    .link-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .link-icon i {
        font-size: 1.3rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Optimize navbar for small screens */
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-logo .logo-text {
        font-size: 1.3rem;
    }
    
    .btn-buy {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Improve touch targets */
    .btn-buy, .btn-primary, .btn-secondary, .btn-uniswap, .btn-metamask {
        min-height: 48px;
        padding: 14px 20px;
        border-radius: 24px;
    }
    
    /* Better text readability */
    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Optimize spacing */
    .hero-logo {
        margin-bottom: 1.5rem;
    }
    
    .hero-logo img {
        width: 100px;
        height: 100px;
    }
}

/* Extra small devices optimization */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .step-card, .tokenomics-card, .link-card {
        padding: 1rem;
    }
    
    .btn-large {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    #contract-address {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

/* Legal Pages Styles */
.legal-header {
    padding: 8rem 0 3rem;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, rgba(10, 10, 10, 1) 70%);
    text-align: center;
}

.legal-header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.last-updated {
    color: #667eea;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.legal-content {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.legal-section h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: #a0a0a0;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 1.5rem;
    color: #a0a0a0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.subsection {
    margin: 2rem 0;
    padding-left: 1rem;
    border-left: 3px solid rgba(102, 126, 234, 0.3);
}

.contact-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
}

.contact-info a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.back-to-home {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0;
    text-align: center;
}

.back-to-home-content h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.back-to-home-content p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.back-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-legal a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #667eea;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-header {
        padding: 6rem 0 2rem;
    }
    
    .legal-header-content h1 {
        font-size: 2.5rem;
    }
    
    .legal-document {
        padding: 2rem;
    }
    
    .back-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-header-content h1 {
        font-size: 2rem;
    }
    
    .legal-document {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .subsection {
        padding-left: 0.5rem;
    }
}

/* Floating Share Button - Redesigned Circular Style */
.floating-share-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-share-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 999999;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    /* Debug styles to ensure visibility */
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.floating-share-btn.active {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.share-options {
    position: absolute;
    bottom: 68px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50%) translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.share-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(50%) translateY(0) scale(1);
    pointer-events: all;
}

.share-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(10px) scale(0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.share-options.active .share-option {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.share-options.active .share-option:nth-child(1) {
    transition-delay: 0.05s;
}

.share-options.active .share-option:nth-child(2) {
    transition-delay: 0.1s;
}

.share-options.active .share-option:nth-child(3) {
    transition-delay: 0.15s;
}

.share-options.active .share-option:nth-child(4) {
    transition-delay: 0.2s;
}

.share-option:hover {
    transform: translateY(-2px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.share-x {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.share-x:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-reddit {
    background: linear-gradient(135deg, #ff4500 0%, #cc3700 100%);
}

.share-reddit:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff4500 100%);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.share-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #166fe5 100%);
}

.share-facebook:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1877f2 100%);
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.share-instagram {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 25%, #833ab4 50%, #5851db 75%, #405de6 100%);
}

.share-instagram:hover {
    background: linear-gradient(135deg, #fd5949 0%, #d6336c 25%, #8a3ab9 50%, #4f64dc 75%, #4c63d2 100%);
    box-shadow: 0 6px 20px rgba(228, 64, 95, 0.3);
}

/* Floating Share Button Animation */
@keyframes shareButtonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
    }
}

.floating-share-btn.pulse {
    animation: shareButtonPulse 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-share-container {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-share-btn {
        width: 52px;
        height: 52px;
        font-size: 1rem;
    }
    
    .share-option {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .share-options {
        bottom: 64px;
    }
}

@media (max-width: 480px) {
    .floating-share-container {
        bottom: 16px;
        right: 16px;
    }
    
    .floating-share-btn {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }
    
    .share-option {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    .share-options {
        bottom: 60px;
        gap: 10px;
    }
}

/* Sitemap Page Styles */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.sitemap-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.sitemap-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.sitemap-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sitemap-item i {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

.sitemap-item h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.sitemap-item p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.sitemap-info {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #ffffff;
    font-weight: 600;
}

.info-item code {
    font-family: 'Monaco', 'Consolas', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: #667eea;
    font-size: 0.85rem;
}

.info-item span {
    color: #a0a0a0;
}

/* Responsive for Sitemap */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sitemap-item {
        padding: 1.2rem;
    }
    
    .sitemap-item i {
        font-size: 1.3rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .info-item code {
        word-break: break-all;
        font-size: 0.75rem;
    }
}