/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Static Overlay */
.static-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.05;
    pointer-events: none;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.3) 1px, transparent 0);
    background-size: 20px 20px;
    animation: static-flicker 0.1s linear infinite;
    z-index: 1;
}

@keyframes static-flicker {
    0% { opacity: 0.05; }
    25% { opacity: 0.03; }
    50% { opacity: 0.07; }
    75% { opacity: 0.04; }
    100% { opacity: 0.05; }
}

/* Header */
.header {
    background: rgba(30, 58, 138, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.5);
    padding: 1rem 0;
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.logo-icon {
    font-size: 2rem;
    color: #60a5fa;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    letter-spacing: -0.025em;
}

.logo-accent {
    color: #60a5fa;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-badge span {
    color: #fca5a5;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #93c5fd;
}

.divider {
    width: 1px;
    height: 1rem;
    background: #3b82f6;
}

/* Main Content */
.main-content {
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

/* Featured Section */
.featured-section {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.section-header {
    background: rgba(30, 58, 138, 0.9);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.offer-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.offer-tag.verified {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.offer-tag.hot {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.3);
}

.offer-tag.limited {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.featured-content {
    padding: 1.5rem;
}

.featured-offer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.offer-details h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.offer-details p {
    color: #93c5fd;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.time-left {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
}

.cta-button {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: white;
    font-weight: bold;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.cta-button:hover {
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.offer-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    margin-top: 1rem;
}

.offer-image {
    position: relative;
}

.offer-image img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.prize-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fbbf24;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: bold;
}

.progress-indicators {
    padding: 0 1.5rem 1rem;
    display: flex;
    gap: 0.5rem;
}

.progress-dot {
    height: 4px;
    flex: 1;
    border-radius: 9999px;
    background: #475569;
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: #3b82f6;
}

/* Live Offers Section */
.live-offers-section {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: 1.5rem;
}

.live-header {
    background: linear-gradient(to right, #dc2626, #ef4444);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot-header {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 0.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    opacity: 0.5;
}

.page-counter {
    color: white;
    font-size: 0.875rem;
    padding: 0 0.5rem;
}

.live-offers-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.live-offer-card {
    background: rgba(71, 85, 105, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    group: hover;
}

.live-offer-card:hover {
    background: rgba(71, 85, 105, 0.8);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #64748b;
}

.live-offer-image {
    position: relative;
    height: 10rem;
}

.live-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-offer-prize {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #fbbf24;
    color: #000;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: bold;
}

.live-offer-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.live-offer-content {
    padding: 1rem;
}

.live-offer-title {
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-offer-card:hover .live-offer-title {
    color: #93c5fd;
}

.live-offer-description {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-offer-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 0.75rem;
}

.external-link-icon {
    color: #94a3b8;
    opacity: 0;
    transition: all 0.3s ease;
}

.live-offer-card:hover .external-link-icon {
    color: #93c5fd;
    opacity: 1;
}

.nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #ef4444;
}

.nav-dot:hover {
    background: #64748b;
}

/* Side Panel */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-panel {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.panel-header {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-picks-header {
    background: linear-gradient(to right, #d97706, #f59e0b);
}

.upcoming-header {
    background: linear-gradient(to right, #7c3aed, #8b5cf6);
}

.stats-header {
    background: linear-gradient(to right, #059669, #10b981);
}

.panel-content {
    padding: 1rem;
}

.side-offer {
    background: rgba(71, 85, 105, 0.5);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.side-offer:hover {
    background: rgba(71, 85, 105, 0.8);
    transform: scale(1.05);
}

.side-offer:last-child {
    margin-bottom: 0;
}

.side-offer h4 {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.side-offer:hover h4 {
    color: #93c5fd;
}

.side-offer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.side-offer-prize {
    color: #fbbf24;
    font-weight: bold;
    font-size: 0.875rem;
}

.side-offer .external-link-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #94a3b8;
    opacity: 0;
    transition: all 0.3s ease;
}

.side-offer:hover .external-link-icon {
    color: #93c5fd;
    opacity: 1;
}

.stats-content {
    padding: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    color: #cbd5e1;
}

.stat-value {
    font-weight: bold;
    font-size: 1.25rem;
}

.stat-value.blue { color: #60a5fa; }
.stat-value.green { color: #34d399; }
.stat-value.orange { color: #fbbf24; }

/* Ticker */
.ticker-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #7f1d1d, #dc2626, #7f1d1d);
    border-top: 1px solid #dc2626;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    z-index: 50;
    height: 4rem;
    display: flex;
    align-items: center;
}

.ticker-label {
    background: #dc2626;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: bold;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-scroll {
    display: flex;
    align-items: center;
    gap: 3rem;
    white-space: nowrap;
    animation: scroll-left 60s linear infinite;
    height: 100%;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: 500;
}

.ticker-item:hover {
    color: #fbbf24;
}

.ticker-emoji {
    font-size: 1.125rem;
}

/* Admin Button */
.admin-btn {
    position: fixed;
    bottom: 5rem;
    right: 1rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid #475569;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.admin-btn:hover {
    background: rgba(71, 85, 105, 0.9);
    transform: scale(1.05);
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #1e293b;
    border: 1px solid #475569;
    border-radius: 0.75rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    padding: 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.login-form {
    padding: 1.5rem;
}

.login-description {
    color: #cbd5e1;
    text-align: center;
    margin-bottom: 1.5rem;
}

.error-message {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.error-message.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    background: #374151;
    color: white;
    border: 1px solid #4b5563;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: white;
}

.login-btn {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #3b82f6);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background: linear-gradient(to right, #3b82f6, #60a5fa);
    transform: scale(1.05);
}

.login-btn:disabled {
    background: linear-gradient(to right, #475569, #475569);
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    z-index: 60;
    overflow-y: auto;
    display: none;
}

.admin-panel.active {
    display: block;
}

.admin-container {
    min-height: 100vh;
    color: white;
}

.admin-header {
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(71, 85, 105, 0.5);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-title h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.admin-title i {
    font-size: 1.5rem;
    color: #60a5fa;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.logout-btn, .back-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logout-btn {
    background: #dc2626;
    color: white;
}

.logout-btn:hover {
    background: #ef4444;
}

.back-btn {
    background: #3b82f6;
    color: white;
}

.back-btn:hover {
    background: #60a5fa;
}

.admin-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 80px);
}

.admin-sidebar {
    background: rgba(30, 41, 59, 0.5);
    border-right: 1px solid rgba(71, 85, 105, 0.5);
    padding: 2rem 0;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-item {
    background: none;
    border: none;
    color: #cbd5e1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.875rem;
}

.nav-item:hover {
    background: rgba(71, 85, 105, 0.5);
    color: white;
}

.nav-item.active {
    background: #3b82f6;
    color: white;
}

.admin-main {
    padding: 2rem;
    overflow-y: auto;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

/* Dashboard Styles */
.dashboard h2 {
    margin-bottom: 2rem;
    color: white;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.stat-icon.green { background: rgba(34, 197, 94, 0.2); color: #34d399; }
.stat-icon.orange { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.stat-icon.red { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: #94a3b8;
    font-size: 0.875rem;
}

.recent-offers {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.recent-offers h3 {
    margin-bottom: 1rem;
    color: white;
}

.offers-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(71, 85, 105, 0.5);
    border-radius: 0.5rem;
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(71, 85, 105, 0.3);
    border-radius: 0.5rem;
    align-items: center;
}

.offer-title {
    color: white;
    font-weight: 500;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.status-badge.inactive {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.placement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.placement-tag {
    padding: 0.125rem 0.5rem;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.edit-btn, .delete-btn {
    padding: 0.25rem 0.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.edit-btn {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.edit-btn:hover {
    background: rgba(59, 130, 246, 0.3);
}

.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Offers Management */
.offers-management .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.offers-management h2 {
    color: white;
    font-size: 1.5rem;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filters select {
    padding: 0.5rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.5rem;
    color: white;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.offer-card .offer-image {
    position: relative;
    height: 150px;
}

.offer-card .offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card .offer-status {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-card .offer-status.active {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.offer-card .offer-status.inactive {
    background: rgba(107, 114, 128, 0.9);
    color: white;
}

.offer-content {
    padding: 1rem;
}

.offer-content h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.offer-prize {
    color: #fbbf24;
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.offer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.offer-category {
    color: #94a3b8;
    font-size: 0.75rem;
    text-transform: capitalize;
}

.offer-tag {
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.offer-tag.verified {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.offer-tag.hot {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
}

.offer-tag.limited {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.offer-actions {
    display: flex;
    gap: 0.5rem;
}

.offer-actions .edit-btn,
.offer-actions .delete-btn {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

/* Add Offer Form */
.add-offer-form h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 0.5rem;
    color: white;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.reset-btn,
.save-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.reset-btn {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.reset-btn:hover {
    background: rgba(107, 114, 128, 0.3);
}

.save-btn {
    background: linear-gradient(to right, #059669, #10b981);
    color: white;
}

.save-btn:hover {
    background: linear-gradient(to right, #10b981, #34d399);
    transform: scale(1.05);
}

/* Responsive Admin Panel */
@media (max-width: 1024px) {
    .admin-content {
        grid-template-columns: 200px 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-content {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-header {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .admin-actions {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .live-offers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-info {
        display: none;
    }
}

@media (max-width: 768px) {
    .featured-offer {
        grid-template-columns: 1fr;
    }
    
    .live-offers-grid {
        grid-template-columns: 1fr;
    }
    
    .live-controls {
        gap: 0.25rem;
    }
    
    .page-counter {
        font-size: 0.75rem;
    }
    
    .ticker-label {
        padding: 1rem;
        font-size: 0.75rem;
    }
    
    .admin-btn {
        bottom: 4.5rem;
        right: 0.5rem;
        padding: 0.5rem;
    }
}

@media (max-width: 640px) {
    .logo-text {
        font-size: 1.25rem;
    }
    
    .live-badge {
        margin-left: 0.5rem;
    }
    
    .main-content {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .content-grid {
        gap: 1rem;
    }
}