/* PromoCodeHub Custom Styles - SkinClubCodes Inspired */

:root {
    --primary-purple: #8B5CF6;
    --secondary-purple: #A855F7;
    --dark-purple: #6D28D9;
    --light-purple: #C4B5FD;
    --accent-green: #10B981;
    --accent-blue: #3B82F6;
    --bg-dark: #1F1B2E;
    --bg-darker: #151226;
    --card-bg: #2A2438;
    --text-light: #E5E7EB;
    --text-muted: #9CA3AF;
}

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

/* Navigation Styles */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

/* Hero Styles */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.stat-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-green);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 13px 28px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

/* Mascot Styles */
.mascot-container {
    position: relative;
    display: inline-block;
}

.mascot-character {
    font-size: 8rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 10px 20px rgba(139, 92, 246, 0.3));
}

.mascot-speech-bubble {
    position: absolute;
    top: -20px;
    right: -50px;
    background: white;
    color: var(--dark-purple);
    padding: 10px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mascot-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

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

/* Search Styles */
.search-container {
    position: relative;
}

.search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
}

.search-box:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    width: 100%;
    padding: 10px 50px 10px 20px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-purple);
    font-size: 1.2rem;
}

.search-suggestions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.suggestion-tag {
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-purple);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-tag:hover {
    background: var(--primary-purple);
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Coupon Card Styles - Exact SkinClubCodes Match */
.coupon-card {
    background: linear-gradient(145deg, #2A2438 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8B5CF6, #A855F7, #10B981, #3B82F6);
    border-radius: 25px 25px 0 0;
}

.coupon-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.35);
    border-color: var(--primary-purple);
}

/* Coupon Header */
.coupon-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.site-logo {
    font-size: 2.5rem;
    margin-right: 15px;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

.site-info {
    flex: 1;
}

.site-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.usage-stats {
    margin-top: 5px;
}

.usage-count {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.mascot-mini {
    font-size: 2rem;
    animation: bounce 3s infinite;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}

/* Coupon Body */
.coupon-body {
    padding: 25px;
}

.coupon-description {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.promo-code-container {
    margin-bottom: 25px;
}

.promo-code-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promo-code-box {
    background: linear-gradient(135deg, var(--bg-darker), var(--card-bg));
    border: 2px dashed var(--primary-purple);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.promo-code-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    animation: shimmer 3s infinite;
}

.promo-code-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent-green);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.copy-btn {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary-purple);
    border-radius: 10px;
    color: var(--primary-purple);
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-purple);
    color: white;
    transform: scale(1.1);
}

/* Coupon CTA */
.coupon-cta {
    margin-bottom: 20px;
}

.btn-claim-bonus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border: none;
    border-radius: 20px;
    padding: 15px 25px;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-claim-bonus::before {
    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;
}

.btn-claim-bonus:hover::before {
    left: 100%;
}

.btn-claim-bonus:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.btn-text {
    font-size: 1rem;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-claim-bonus:hover .btn-arrow {
    transform: translateX(5px);
}

/* Coupon Footer */
.coupon-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: rgba(139, 92, 246, 0.1);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.added-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-badge {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}


/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 50%, var(--secondary-purple) 100%);
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Stats Section */
.stats-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    text-align: center;
    padding: 30px 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stats-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-green);
}

/* Blog Styles */
.blog-card {
    background: linear-gradient(145deg, var(--card-bg), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.3);
}

.blog-meta {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Admin Panel Styles */
.admin-sidebar {
    background: var(--dark-bg);
    min-height: 100vh;
    border-right: 1px solid #495057;
}

.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: 15px 20px;
    border-bottom: 1px solid #495057;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: #000;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #ffca2c;
    border-color: #ffca2c;
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .coupon-card {
        margin-bottom: 20px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}
