/**
 * EPIC DRAGON GLOBAL THEME 🐉🔥
 * Pure Power & Energy Effects for Entire Website
 * @package team-exciting
 * @version 1.0.0
 */

/* ===================================
   CSS VARIABLES - EPIC COLOR SCHEME
   =================================== */
:root {
    --epic-cyan: #00d9ff;
    --epic-purple: #8a2be2;
    --epic-pink: #ff1493;
    --epic-gradient: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple));
    --epic-gradient-triple: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple), var(--epic-pink));
    --epic-bg-dark: rgba(26, 26, 26, 0.95);
    --epic-bg-darker: rgba(37, 37, 37, 0.95);
}

/* ===================================
   BODY & MAIN CONTAINER 🌐
   =================================== */

body {
    background: #1a1a1a !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow-x: hidden;
}

/* Cosmic Background for Body */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(138, 43, 226, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 80%, rgba(255, 20, 147, 0.03) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 120px 120px;
    animation: cosmicDust 40s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

#main-content,
.site-content,
#content {
    background: transparent;
    position: relative;
    z-index: 1;
}

/* ===================================
   HEADINGS 📝
   =================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--epic-cyan) !important;
    font-weight: 800 !important;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

h1 {
    font-size: 42px !important;
    background: var(--epic-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 36px !important;
}

h3 {
    font-size: 28px !important;
}

h4 {
    font-size: 22px !important;
}

h5, h6 {
    font-size: 18px !important;
}

/* ===================================
   LINKS 🔗
   =================================== */

a {
    color: var(--epic-cyan) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--epic-purple) !important;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

/* ===================================
   BUTTONS 🎮
   =================================== */

button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
    background: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple)) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 25px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
}

button:hover,
.button:hover,
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.wp-block-button__link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.6);
    background: linear-gradient(135deg, var(--epic-purple), var(--epic-pink)) !important;
    color: #fff !important;
}

/* Secondary Button Style */
.button.secondary,
.btn-secondary {
    background: rgba(0, 217, 255, 0.15) !important;
    border: 2px solid rgba(0, 217, 255, 0.4) !important;
    color: var(--epic-cyan) !important;
}

.button.secondary:hover,
.btn-secondary:hover {
    background: rgba(0, 217, 255, 0.25) !important;
    border-color: var(--epic-cyan) !important;
}

/* ===================================
   CARDS & WIDGETS 🎴
   =================================== */

.card,
.widget,
.panel,
.box,
article,
.post,
.page {
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker)) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(0, 217, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.card::before,
.widget::before,
.panel::before,
.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(0, 217, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 85% 80%, rgba(138, 43, 226, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 20, 147, 0.06) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 60px 60px;
    animation: cosmicDust 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    border-radius: 20px;
}

.card > *,
.widget > *,
.panel > *,
.box > * {
    position: relative;
    z-index: 1;
}

.card:hover,
.widget:hover,
.panel:hover,
.box:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 217, 255, 0.5) !important;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(0, 217, 255, 0.4) !important;
}

/* Widget Titles */
.widget-title,
.card-title,
.panel-title {
    color: var(--epic-cyan) !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 217, 255, 0.3);
}

/* ===================================
   FORMS & INPUTS 📝
   =================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 10px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--epic-cyan) !important;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    outline: none;
    background: rgba(0, 217, 255, 0.15) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ===================================
   TABLES 📊
   =================================== */

table {
    width: 100%;
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker)) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border-collapse: separate;
    border-spacing: 0;
}

thead {
    background: rgba(0, 217, 255, 0.15) !important;
}

th {
    background: rgba(0, 217, 255, 0.15) !important;
    color: var(--epic-cyan) !important;
    font-weight: 800 !important;
    padding: 15px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--epic-cyan) !important;
}

td {
    padding: 15px !important;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

tr:hover {
    background: rgba(0, 217, 255, 0.08) !important;
}

tr:last-child td {
    border-bottom: none !important;
}

/* ===================================
   LISTS 📋
   =================================== */

ul, ol {
    color: rgba(255, 255, 255, 0.9);
}

ul li, ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

ul li::marker {
    color: var(--epic-cyan);
}

/* ===================================
   IMAGES 🖼️
   =================================== */

img {
    border-radius: 10px;
    transition: all 0.4s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.3);
}

.wp-post-image,
.featured-image img {
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 217, 255, 0.2);
}

/* ===================================
   BLOCKQUOTES 💬
   =================================== */

blockquote {
    background: rgba(0, 217, 255, 0.08) !important;
    border-left: 5px solid var(--epic-cyan) !important;
    border-radius: 10px !important;
    padding: 20px 30px !important;
    margin: 20px 0 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-style: italic;
    position: relative;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 60px;
    color: var(--epic-cyan);
    opacity: 0.3;
    font-family: Georgia, serif;
}

/* ===================================
   CODE BLOCKS 💻
   =================================== */

code {
    background: rgba(138, 43, 226, 0.2) !important;
    border: 1px solid rgba(138, 43, 226, 0.4) !important;
    border-radius: 5px !important;
    padding: 2px 8px !important;
    color: var(--epic-purple) !important;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

pre {
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker)) !important;
    border: 2px solid rgba(138, 43, 226, 0.3) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    overflow-x: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

pre code {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===================================
   BADGES & LABELS 🏷️
   =================================== */

.badge,
.label,
.tag {
    background: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple)) !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(0, 217, 255, 0.4);
}

/* ===================================
   ALERTS & NOTICES 📢
   =================================== */

.alert,
.notice,
.message {
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker)) !important;
    border: 2px solid rgba(0, 217, 255, 0.5) !important;
    border-left-width: 5px !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 20px 0;
}

.alert.success,
.notice.success {
    border-left-color: var(--epic-cyan) !important;
    box-shadow: 0 5px 25px rgba(0, 217, 255, 0.3);
}

.alert.warning,
.notice.warning {
    border-left-color: var(--epic-pink) !important;
    box-shadow: 0 5px 25px rgba(255, 20, 147, 0.3);
}

.alert.info,
.notice.info {
    border-left-color: var(--epic-purple) !important;
    box-shadow: 0 5px 25px rgba(138, 43, 226, 0.3);
}

/* ===================================
   PAGINATION 📄
   =================================== */

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span,
.nav-links a,
.nav-links span {
    display: inline-block;
    padding: 12px 18px;
    background: rgba(0, 217, 255, 0.1) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 10px !important;
    color: var(--epic-cyan) !important;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.nav-links a:hover {
    background: rgba(0, 217, 255, 0.2) !important;
    border-color: var(--epic-cyan) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.pagination .current,
.nav-links .current {
    background: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple)) !important;
    border-color: var(--epic-cyan) !important;
    color: #000 !important;
}

/* ===================================
   BREADCRUMBS 🍞
   =================================== */

.breadcrumb,
.breadcrumbs {
    background: rgba(0, 217, 255, 0.08) !important;
    border: 2px solid rgba(0, 217, 255, 0.2) !important;
    border-radius: 15px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px;
    font-size: 13px;
}

.breadcrumb a,
.breadcrumbs a {
    color: var(--epic-cyan) !important;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 8px;
}

/* ===================================
   TOOLTIPS 💡
   =================================== */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker));
    border: 2px solid var(--epic-cyan);
    border-radius: 10px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 217, 255, 0.4);
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* ===================================
   PROGRESS BARS 📊
   =================================== */

.progress-bar,
.progress {
    background: rgba(0, 217, 255, 0.1) !important;
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
    border-radius: 20px !important;
    height: 30px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill,
.progress-fill {
    background: var(--epic-gradient) !important;
    height: 100%;
    border-radius: 18px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after,
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===================================
   SCROLLBAR 🎨
   =================================== */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.95);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--epic-cyan), var(--epic-purple));
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 26, 0.95);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--epic-purple), var(--epic-pink));
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--epic-cyan) rgba(26, 26, 26, 0.95);
}

/* ===================================
   SELECTION 🖱️
   =================================== */

::selection {
    background: var(--epic-cyan);
    color: #000;
    text-shadow: none;
}

::-moz-selection {
    background: var(--epic-cyan);
    color: #000;
    text-shadow: none;
}

/* ===================================
   LOADING SPINNER 🌀
   =================================== */

.loading,
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 217, 255, 0.2);
    border-top-color: var(--epic-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   KEYFRAME ANIMATIONS
   =================================== */

@keyframes cosmicDust {
    0% {
        background-position: 0% 0%, 50% 50%, 100% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 100%, 0% 50%;
    }
    100% {
        background-position: 0% 0%, 50% 50%, 100% 0%;
    }
}

/* ===================================
   UTILITY CLASSES 🛠️
   =================================== */

.text-cyan {
    color: var(--epic-cyan) !important;
}

.text-purple {
    color: var(--epic-purple) !important;
}

.text-pink {
    color: var(--epic-pink) !important;
}

.bg-epic {
    background: linear-gradient(145deg, var(--epic-bg-dark), var(--epic-bg-darker)) !important;
}

.border-epic {
    border: 2px solid rgba(0, 217, 255, 0.3) !important;
}

.shadow-epic {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 217, 255, 0.2) !important;
}

.glow-cyan {
    text-shadow: 0 0 15px rgba(0, 217, 255, 0.6);
}

.glow-purple {
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.6);
}

.glow-pink {
    text-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}

/* ===================================
   RESPONSIVE DESIGN 📱
   =================================== */

@media (max-width: 991px) {
    h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 30px !important;
    }

    h3 {
        font-size: 24px !important;
    }

    .card,
    .widget,
    .panel,
    .box {
        padding: 20px !important;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 30px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    .pagination,
    .nav-links {
        flex-wrap: wrap;
    }
}

/* ===================================
   ACCESSIBILITY & PERFORMANCE ⚡
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible for Keyboard Navigation */
:focus-visible {
    outline: 3px solid var(--epic-cyan);
    outline-offset: 3px;
}

/* ===================================
   🐉 EPIC GLOBAL THEME - COMPLETE! 🔥
   =================================== */
