/*
Theme Name: OilBaronAi Premium
Description: A premium, dynamic cryptocurrency theme for OilBaronAi with modern glassmorphism and animations.
Version: 1.0
*/

@font-face {
    font-family: 'Avec';
    src: url('./assets/Avec.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-color: #0b0d12;
    --text-primary: #f8f9fa;
    --text-secondary: #aab0bd;
    --accent-gold: #e6b800;
    --accent-gold-hover: #ffcc00;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glow */
body::before {
    content: '';
    position: fixed;
    top: -10vh;
    left: -10vw;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(230, 184, 0, 0.15) 0%, rgba(11, 13, 18, 0) 70%);
    z-index: -1;
    filter: blur(100px);
}

body::after {
    content: '';
    position: fixed;
    bottom: -20vh;
    right: -20vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(230, 184, 0, 0.1) 0%, rgba(11, 13, 18, 0) 70%);
    z-index: -1;
    filter: blur(100px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Avec', sans-serif;
    font-weight: normal;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 13, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.logo span {
    font-family: 'Avec', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(230, 184, 0, 0.4);
    display: inline-flex;
    align-items: baseline;
}

.logo span .logo-large {
    font-size: 2.2rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    border: none;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::after {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #b38f00);
    color: #111;
    box-shadow: 0 6px 20px rgba(230, 184, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(230, 184, 0, 0.5);
}

.btn-outline {
    background: #000000;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
    background: #111111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.2);
}


/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.hero-content {
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    margin: 0 auto;
}

.contract-address {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(230, 184, 0, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.contract-address:hover {
    border-color: rgba(230, 184, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 184, 0, 0.1);
}

.ca-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.ca-value {
    color: var(--accent-gold);
    font-family: monospace;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, var(--accent-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    max-width: 650px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-image-top {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatImage 6s ease-in-out infinite;
}

.hero-image-top img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

/* Feature/About Section */
.section-padding {
    padding: 8rem 0;
}

.about-section {
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(230, 184, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(230, 184, 0, 0.1);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    text-align: center;
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.about-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-images img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    object-fit: cover;
}

.about-images img:hover {
    transform: scale(1.02);
    border-color: var(--accent-gold);
}

/* Community Section */
.community-section {
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(230, 184, 0, 0.05));
    border-top: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-width: 180px;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(230, 184, 0, 0.15);
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
}

.social-name {
    font-family: 'Avec', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Footer */
.site-footer {
    background: rgba(11, 13, 18, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-grid,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero,
    .about-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 3rem;
        margin-top: 2rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    /* Could add hamburger menu for full site */
    .social-links {
        flex-wrap: wrap;
    }

    .hero-image-wrap img {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-image-top {
        animation: floatImageMobile 6s ease-in-out infinite;
        margin-top: 10px;
    }

    @keyframes floatImageMobile {

        0%,
        100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(15px);
        }
    }

    .hero-image-wrap img {
        max-width: 100%;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-content {
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .about-images {
        gap: 1.5rem;
    }

    .social-links a {
        min-width: 100%;
        padding: 1.5rem;
        flex-direction: row;
        justify-content: center;
    }

    .social-icon {
        font-size: 2rem;
    }

    .logo span {
        font-size: 1.4rem;
    }

    .logo span .logo-large {
        font-size: 1.6rem;
    }

    .logo img {
        height: 40px;
    }

    .header-action {
        display: none;
        /* Hide top corner button on mobile to save space */
    }
}