﻿/* =========================
   GOLD ICONS STYLING
   Black & Deep Gold Aesthetic - Premium Edition
   Refined darker gold palette for elegant look
   ========================= */

/* =========================================
   PREMIUM DEEP GOLD VARIABLES
   ========================================= */
:root {
    /* Deep Gold Palette */
    --gold-deep: #a8893a;
    --gold-highlight: #c9a84e;
    --gold-shadow: #7a6428;
    --gold-accent: #8b7331;
    --gold-dim: #5c4b1f;
    
    /* Glow Effects */
    --gold-glow: rgba(168, 137, 58, 0.3);
    --gold-glow-strong: rgba(168, 137, 58, 0.5);
}

/* =========================================
   PREMIUM GOLD 3D EFFECTS
   Depth, reflection, and shadow styling
   ========================================= */

/* Premium Gold Text - Deep 3D Gradient Effect */
.premium-gold {
    background: linear-gradient(135deg, #8b7331, #c9a84e, #7a6428, #a8893a, #5c4b1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.7));
}

/* Premium Gold Background - For buttons and cards */
.premium-gold-bg {
    background: linear-gradient(135deg, #8b7331, #c9a84e, #7a6428, #a8893a, #5c4b1f);
    box-shadow: 0 4px 10px rgba(168, 137, 58, 0.25);
    color: #000;
}

/* Premium Gold Border - For outlined elements */
.premium-gold-border {
    border: 2px solid transparent;
    background: 
        linear-gradient(#0f0f0f, #0f0f0f) padding-box,
        linear-gradient(135deg, #8b7331, #c9a84e, #7a6428, #a8893a, #5c4b1f) border-box;
}

/* Premium Gold Icon - For SVG icons */
.premium-gold-icon {
    fill: url(#premiumGoldGradient);
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.6));
}

/* Premium Gold Icon (fallback without SVG gradient) */
.premium-gold-icon-solid {
    fill: #a8893a;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.7)) drop-shadow(0 2px 4px rgba(168, 137, 58, 0.25));
}

/* Premium Gold Hover Effect */
.premium-gold-hover:hover {
    background: linear-gradient(135deg, #a8893a, #d4b85a, #8b7331, #c9a84e, #7a6428);
    box-shadow: 0 6px 20px rgba(168, 137, 58, 0.4);
    transform: translateY(-2px);
}

/* Premium Gold Glow Animation */
@keyframes premiumGoldGlow {
    0%, 100% {
        filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 6px rgba(168, 137, 58, 0.2));
    }
    50% {
        filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 12px rgba(168, 137, 58, 0.4));
    }
}

.premium-gold-glow {
    animation: premiumGoldGlow 2s ease-in-out infinite;
}

/* Premium Gold Shine Animation */
@keyframes premiumGoldShine {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.premium-gold-shine {
    background: linear-gradient(
        90deg, 
        #7a6428 0%, 
        #c9a84e 25%, 
        #d4b85a 50%, 
        #c9a84e 75%, 
        #7a6428 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: premiumGoldShine 3s linear infinite;
}

/* SVG Gradient Definition (include in HTML) */
.premium-gold-svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Gold Emoji Filter - Deeper, richer gold */
.gold-emoji {
    filter: sepia(1) saturate(2) hue-rotate(20deg) brightness(0.9);
    display: inline-block;
}

/* Premium Gold Emoji - Enhanced filter for deep gold */
.premium-gold-emoji {
    filter: sepia(1) saturate(2.5) hue-rotate(18deg) brightness(0.85) contrast(1.15) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    display: inline-block;
}

/* Gold Icon Base Styles */
.gold-icon,
.menu-icon.gold-icon {
    fill: var(--gold-deep, #a8893a);
    transition: fill 0.2s ease, filter 0.2s ease;
}

/* Gold Gradient for SVG Icons */
.gold-gradient-icon {
    fill: url(#goldGradient);
}

/* Hover Effects */
.gold-icon:hover,
a:hover .gold-icon,
button:hover .gold-icon {
    fill: var(--gold-highlight, #c9a84e);
    filter: drop-shadow(0 0 4px rgba(168, 137, 58, 0.4));
}

/* Gold Icon Container */
.gold-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-deep, #a8893a);
}

/* Standard Icon Sizes */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 48px; height: 48px; }

/* Gold Button with Icon */
.btn-gold-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #a8893a 0%, #c9a84e 50%, #7a6428 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-gold-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 137, 58, 0.35);
}

.btn-gold-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Gold Outline Button with Icon */
.btn-gold-outline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: var(--gold-deep, #a8893a);
    border: 2px solid var(--gold-shadow, #7a6428);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-gold-outline-icon:hover {
    background: rgba(168, 137, 58, 0.08);
    border-color: var(--gold-deep, #a8893a);
    transform: translateY(-2px);
}

.btn-gold-outline-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Menu Item with Gold Icon */
.menu-item-gold-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-main, #d8d8d8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.menu-item-gold-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--gold-deep, #a8893a);
    transition: fill 0.2s ease, filter 0.2s ease;
}

.menu-item-gold-icon:hover {
    background: rgba(168, 137, 58, 0.08);
    color: var(--gold-deep, #a8893a);
    transform: translateX(4px);
}

.menu-item-gold-icon:hover svg {
    fill: var(--gold-highlight, #c9a84e);
    filter: drop-shadow(0 0 4px rgba(168, 137, 58, 0.3));
}

/* Badge with Gold Icon */
.badge-gold-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(168, 137, 58, 0.08);
    border: 1px solid var(--gold-dim, #5c4b1f);
    border-radius: 20px;
    color: var(--gold-deep, #a8893a);
    font-size: 0.85em;
    font-weight: 500;
}

.badge-gold-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Common Gold SVG Definitions (include in your pages) */
.gold-svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Gold Icon Animation - Pulse on action */
@keyframes goldIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(168, 137, 58, 0.4)); }
}

.gold-icon-pulse {
    animation: goldIconPulse 0.5s ease;
}

/* Gold Icon Animation - Glow */
@keyframes goldIconGlow {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(168, 137, 58, 0.2)); }
    50% { filter: drop-shadow(0 0 6px rgba(168, 137, 58, 0.4)); }
}

.gold-icon-glow {
    animation: goldIconGlow 2s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .btn-gold-icon,
    .btn-gold-outline-icon {
        padding: 10px 16px;
        font-size: 0.9em;
    }
    
    .btn-gold-icon svg,
    .btn-gold-outline-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .menu-item-gold-icon {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .menu-item-gold-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* =========================================
   PREMIUM ADMIN NAVIGATION STYLES
   ========================================= */

/* Back to Admin Dashboard Link */
.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid var(--gold-dim, #5c4b1f);
    border-radius: 12px;
    color: var(--gold-deep, #a8893a);
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.admin-back-link:hover {
    background: rgba(168, 137, 58, 0.08);
    border-color: var(--gold-deep, #a8893a);
    color: var(--gold-highlight, #c9a84e);
    transform: translateX(-4px);
    box-shadow: 0 4px 15px rgba(168, 137, 58, 0.15);
}

.admin-back-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.admin-back-link:hover svg {
    transform: translateX(-4px);
}

.admin-back-link-premium {
    background: linear-gradient(135deg, rgba(122, 100, 40, 0.1), rgba(92, 75, 31, 0.1));
    border: 1px solid;
    border-image: linear-gradient(135deg, #7a6428, #a8893a, #5c4b1f) 1;
}
