/* ============================================ */
/* Custom CSS Styles */
/* ============================================ */

:root {
    --container-max-width: 1280px;
    --container-padding-x: 2.5rem;
    --container-padding-y: 2rem;
    --section-padding-y: 4rem;
    --compact-spacing: 0.75rem;
}

html {
    scroll-behavior: smooth;
}

/* Boxed/Contained Layout - İçerikler kenarlardan yeterli mesafede */
.boxed-container {
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    padding-top: var(--container-padding-y);
    padding-bottom: var(--container-padding-y);
}

/* Responsive Boxed Container */
@media (max-width: 640px) {
    .boxed-container {
        --container-padding-x: 1.25rem;
        --container-padding-y: 1.5rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .boxed-container {
        --container-padding-x: 2rem;
        --container-padding-y: 2rem;
    }
}

@media (min-width: 1025px) {
    .boxed-container {
        --container-padding-x: 3rem;
        --container-padding-y: 2.5rem;
    }
}

@media (min-width: 1536px) {
    .boxed-container {
        --container-max-width: 1400px;
        --container-padding-x: 4rem;
    }
}

/* Section wrapper for boxed layout */
.boxed-section {
    padding-left: 0;
    padding-right: 0;
}

.boxed-section > .boxed-container {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

@media (max-width: 768px) {
    .boxed-section > .boxed-container {
        --section-padding-y: 2.5rem;
    }
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
}

/* ============================================ */
/* Hero Section - Full Background Image Design */
/* ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Background Image Container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay for text readability - Lighter overlay to show image */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.35) 0%,
        rgba(26, 26, 26, 0.25) 30%,
        rgba(26, 26, 26, 0.2) 60%,
        rgba(26, 26, 26, 0.15) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Content Wrapper - Centered */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    text-align: center;
}

.hero-content-wrapper h1 {
    text-shadow: 
        0 2px 20px rgba(0, 0, 0, 0.9),
        0 4px 40px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-weight: 800;
}

.hero-content-wrapper h1 .hero-gradient-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

.hero-content-wrapper p {
    text-shadow: 
        0 2px 15px rgba(0, 0, 0, 0.9),
        0 4px 30px rgba(0, 0, 0, 0.7);
    color: #f5f5f5;
    font-weight: 400;
}

/* Hero buttons visibility */
.hero-content-wrapper a {
    text-shadow: none;
}

/* Hero Gradient Text - Metin2 PVP */
.hero-gradient-text {
    background: linear-gradient(135deg, #fab708 0%, #ffd975 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent !important;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(250, 183, 8, 0.8)) drop-shadow(0 0 30px rgba(255, 217, 117, 0.5));
    text-shadow: none !important;
}

/* Hero Gradient Button */
.hero-gradient-button {
    background: linear-gradient(135deg, #fab708 0%, #ffd975 100%);
    border: none;
}

.hero-gradient-button:hover {
    background: linear-gradient(135deg, #ffd975 0%, #fab708 100%);
    box-shadow: 0 10px 30px rgba(250, 183, 8, 0.4);
}

/* Bottom Fade Transition - Smooth fade to next section */
.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(26, 26, 26, 0.2) 20%,
        rgba(26, 26, 26, 0.4) 40%,
        rgba(26, 26, 26, 0.65) 60%,
        rgba(26, 26, 26, 0.85) 80%,
        rgba(26, 26, 26, 0.95) 90%,
        rgba(26, 26, 26, 1) 100%
    );
    z-index: 4;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content-wrapper {
        padding-top: 5rem;
        padding-bottom: 3rem;
    }
    
    .hero-overlay {
        background: linear-gradient(
            135deg,
            rgba(26, 26, 26, 0.4) 0%,
            rgba(26, 26, 26, 0.3) 50%,
            rgba(26, 26, 26, 0.25) 100%
        );
    }
    
    .hero-bottom-fade {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content-wrapper {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .hero-content-wrapper h1 {
        font-size: 2.5rem;
    }
    
    .hero-bottom-fade {
        height: 150px;
    }
}

.glass-effect {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* ============================================ */
/* Dynamic Header Styles */
/* ============================================ */

.header-accent-bar {
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(212, 160, 23, 0.8) 0%, 
        rgba(212, 160, 23, 1) 50%,
        rgba(212, 160, 23, 0.8) 100%);
    width: 100%;
}

.dynamic-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 1.5rem;
}

.header-search input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.75rem;
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.header-search input:focus {
    outline: none;
    border-color: rgba(212, 160, 23, 0.5);
    background: rgba(42, 42, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.header-search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(156, 163, 175, 0.6);
    font-size: 0.75rem;
    pointer-events: none;
}

.header-action-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-action-item:hover {
    background: rgba(212, 160, 23, 0.1);
}

/* Header Social Icons - Instagram & Facebook */
.header-social-icon {
    background: rgba(42, 42, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.header-social-icon:hover {
    background: rgba(42, 42, 42, 0.8);
    transform: translateY(-2px);
}

/* Discord Button Pulsing Animation */
.header-discord-button {
    background: rgba(88, 101, 242, 0.2);
    animation: discord-pulse 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.header-discord-button:hover {
    animation: none;
    background: rgba(88, 101, 242, 1);
    transform: scale(1.05);
}

@keyframes discord-pulse {
    0%, 100% {
        background-color: rgba(88, 101, 242, 0.2);
        box-shadow: 0 0 0 0 rgba(88, 101, 242, 0.4);
    }
    50% {
        background-color: rgba(88, 101, 242, 0.6);
        box-shadow: 0 0 0 8px rgba(88, 101, 242, 0);
    }
}

.header-badge {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.25rem;
    background: rgba(212, 160, 23, 0.9);
    color: #1a1a1a;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(26, 26, 26, 0.9);
}

.header-dropdown {
    position: relative;
}

.header-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 200px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.header-dropdown:hover .header-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #d1d5db;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.header-dropdown-item:hover {
    background: rgba(212, 160, 23, 0.1);
    color: #d4a017;
}

.header-separator {
    width: 1px;
    height: 1.5rem;
    background: rgba(156, 163, 175, 0.2);
    margin: 0 0.75rem;
}

.gradient-mask {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
}

/* ============================================ */
/* NFT Style Card Components */
/* ============================================ */

.nft-card {
    position: relative;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.nft-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.3) 0%, 
        rgba(212, 160, 23, 0.1) 25%,
        rgba(184, 144, 21, 0.1) 50%,
        rgba(212, 160, 23, 0.1) 75%,
        rgba(212, 160, 23, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.nft-card:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.6) 0%, 
        rgba(212, 160, 23, 0.3) 25%,
        rgba(184, 144, 21, 0.3) 50%,
        rgba(212, 160, 23, 0.3) 75%,
        rgba(212, 160, 23, 0.6) 100%);
}

.nft-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nft-card:hover::after {
    opacity: 1;
}

.nft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 160, 23, 0.15),
                0 0 60px rgba(212, 160, 23, 0.1);
}

.nft-card-content {
    position: relative;
    z-index: 1;
}

/* NFT Blog Card Variant */
.nft-blog-card {
    position: relative;
    background: rgba(26, 26, 26, 0.35);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nft-blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.4) 0%, 
        rgba(212, 160, 23, 0.15) 30%,
        rgba(184, 144, 21, 0.15) 50%,
        rgba(212, 160, 23, 0.15) 70%,
        rgba(212, 160, 23, 0.4) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.nft-blog-card:hover::before {
    opacity: 0.9;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.7) 0%, 
        rgba(212, 160, 23, 0.4) 30%,
        rgba(184, 144, 21, 0.4) 50%,
        rgba(212, 160, 23, 0.4) 70%,
        rgba(212, 160, 23, 0.7) 100%);
}

.nft-blog-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 160, 23, 0.2),
                0 0 80px rgba(212, 160, 23, 0.15);
}

.nft-blog-image {
    position: relative;
    overflow: hidden;
}

.nft-blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(26, 26, 26, 0.3) 50%,
        rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

.nft-blog-content {
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* NFT Icon Container */
.nft-icon-container {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.2) 0%, 
        rgba(184, 144, 21, 0.1) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.nft-icon-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.4) 0%, 
        rgba(184, 144, 21, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.nft-card:hover .nft-icon-container::before {
    opacity: 1;
}

.nft-card:hover .nft-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        rgba(212, 160, 23, 0.4) 0%, 
        rgba(184, 144, 21, 0.3) 100%);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

/* Compact spacing for NFT cards */
.nft-card-compact {
    padding: 1.25rem;
}

.nft-card-compact .nft-icon-container {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
}

.nft-card-compact h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.nft-card-compact p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Smooth glow animation */
@keyframes nft-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 160, 23, 0.1),
                    0 0 40px rgba(212, 160, 23, 0.05);
    }
    50% {
        box-shadow: 0 0 30px rgba(212, 160, 23, 0.2),
                    0 0 60px rgba(212, 160, 23, 0.1);
    }
}

.nft-card:hover {
    animation: nft-glow 2s ease-in-out infinite;
}

/* ============================================ */
/* Modern Compact Theme Styles */
/* ============================================ */

/* Legacy compact-section support (backward compatibility) */
.compact-section {
    padding-top: 0;
    padding-bottom: 0;
}

.compact-section > .boxed-container {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

@media (max-width: 768px) {
    .compact-section > .boxed-container {
        --section-padding-y: 2.5rem;
    }
}

/* Compact Grid with Modern CSS */
.compact-grid {
    display: grid;
    gap: var(--compact-spacing);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (min-width: 768px) {
    .compact-grid {
        gap: 1rem;
    }
}

/* Modern Typography Scale */
.compact-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.compact-subheading {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

/* Modern Card Spacing */
.compact-card {
    padding: 1rem;
}

@media (min-width: 768px) {
    .compact-card {
        padding: 1.25rem;
    }
}

/* Container Queries Support (Modern Browsers) */
@container (min-width: 400px) {
    .nft-card-compact {
        padding: 1.5rem;
    }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 160, 23, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 160, 23, 0.5);
}

/* Modern Focus States */
:focus-visible {
    outline: 2px solid rgba(212, 160, 23, 0.6);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Performance Optimizations */
.nft-card,
.nft-blog-card {
    will-change: transform;
    contain: layout style paint;
}

/* Modern Backdrop Support */
@supports (backdrop-filter: blur(20px)) {
    .glass-effect {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================ */
/* Footer Styles - Marketplace Style */
/* ============================================ */

.footer-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-link-item:hover {
    color: #d4a017;
    transform: translateX(4px);
}

.footer-link-item svg,
.footer-link-item i {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.footer-social-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 3px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.footer-social-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #d4a017 0%, #ff8c42 100%);
    border-radius: 3px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffc318;
    border-radius: 1px;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.footer-social-icon i,
.footer-social-icon svg {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: #1a1a1a;
    font-size: 0.875rem;
    width: 0.875rem;
    height: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover State - All Icons */
.footer-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgb(255 218 121 / 40%);
    border: 2px solid rgb(255 232 171);
}

.footer-social-icon:hover::after {
    opacity: 1;
}

.footer-social-icon:hover svg {
    color: #1a1a1a;
}

.footer-category-tag {
    display: block;
    width: 100%;
    padding: 0.5rem 0.875rem;
    margin: 0;
    background: rgba(42, 42, 42, 0.6);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 8px;
    color: #d1d5db;
    font-size: 0.8125rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: lowercase;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-category-tag:hover {
    background: rgba(212, 160, 23, 0.15);
    border-color: rgba(212, 160, 23, 0.4);
    color: #d4a017;
    transform: translateY(-2px);
}

.footer-contact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-contact-info svg,
.footer-contact-info i {
    width: 0.875rem;
    height: 0.875rem;
    color: #ffc318;
    flex-shrink: 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact-info a {
    color: #ffc318;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: #ff8c42;
}

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

