@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --bg-color: #050609;
    --sidebar-bg: rgba(10, 0, 0, 0.94);
    --card-bg: rgba(179, 12, 34, 0.12);
    --text-color: #f3f3f5;
    --primary-color: #ff163d;
    --secondary-color: #b3122f;
    --success-color: #32ff7e;
    --danger-color: #ff003c;
    --warning-color: #ffbe0b;
    --info-color: #34d6ff;
    --border-color: rgba(255, 22, 61, 0.32);
    --input-bg: rgba(255, 22, 61, 0.08);
    --input-border: rgba(255, 22, 61, 0.22);
    --glass-blur: 12px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.14);
    --glass-shadow: 0 18px 40px rgba(255, 12, 54, 0.18);
    --sidebar-width: 280px;
    --raven-final-x: calc(-50vw + 160px);
    --raven-final-y: calc(-50vh + 130px);
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    perspective: 1000px; /* For 3D effects */
}

/* Animated Raven/Crow */
.animated-raven-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    z-index: 1000;
    opacity: 0;
    animation: ravenFlying 8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    pointer-events: none;
}

#raven-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(255, 22, 61, 0.6)) drop-shadow(0 0 40px rgba(255, 22, 61, 0.3));
    animation: wingFlap 0.6s ease-in-out infinite;
}

@keyframes wingFlap {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.1);
    }
}

@keyframes ravenFlying {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateZ(0deg);
    }
    20% {
        transform: translate(calc(-50% - 250px), calc(-50% - 200px)) scale(1.1) rotateZ(-20deg);
    }
    40% {
        transform: translate(calc(-50% + 200px), calc(-50% - 150px)) scale(1.05) rotateZ(15deg);
    }
    60% {
        transform: translate(calc(-50% - 150px), calc(-50% + 100px)) scale(0.95) rotateZ(-12deg);
    }
    80% {
        opacity: 1;
        transform: translate(calc(-100vw / 2 + 70px), calc(-100vh / 2 + 85px)) scale(0.7) rotateZ(0deg);
    }
    95% {
        opacity: 1;
        transform: translate(calc(-100vw / 2 + 70px), calc(-100vh / 2 + 85px)) scale(0.6) rotateZ(0deg);
    }
    100% {
        opacity: 1;
        transform: translate(calc(-100vw / 2 + 70px), calc(-100vh / 2 + 85px)) scale(0.6) rotateZ(0deg);
    }
}

/* Notification and Confirmation Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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


.sidebar {
    width: 280px;
    background: linear-gradient(180deg, rgba(22, 0, 0, 0.96) 0%, rgba(5, 0, 0, 0.92) 100%);
    padding: 24px 22px;
    box-shadow: 12px 0 28px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    height: 100%;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 22, 61, 0.26);
    backdrop-filter: blur(16px);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 28px;
}

.sidebar-header #sidebar-raven-svg {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    margin-bottom: 14px;
    border: 3px solid rgba(255, 22, 61, 0.8);
    box-shadow: 0 12px 26px rgba(255, 22, 61, 0.35);
}

.sidebar-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 0 0 10px var(--primary-color);
    padding: 0 10px;
    word-break: break-word;
    line-height: 1.2;
}

.api-panel {
    display: none !important;
}

.api-panel label {
    font-size: 0.85em;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
}

.api-input-row {
    display: grid;
    grid-template-columns: 1fr 44px;
    gap: 10px;
    align-items: center;
}

.api-input-row input {
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95em;
    letter-spacing: 0.03em;
}

.api-active-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
}

.btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 22, 61, 0.22);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-icon:hover {
    background: rgba(255, 22, 61, 0.36);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 16px rgba(255, 22, 61, 0.28);
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.sidebar-nav h3 {
    color: var(--secondary-color);
    font-size: 0.9em;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid var(--secondary-color);
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.2), transparent);
    transition: 0.5s;
}

.sidebar-nav a:hover::before {
    left: 100%;
}

.sidebar-nav a i {
    margin-right: 10px;
    font-size: 1.1em;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.sidebar-nav a:hover i,
.sidebar-nav li.active a i {
    color: white;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    margin-top: auto;
}

.sidebar-footer button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sidebar-footer button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease-out;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
}

.sidebar-footer button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.sidebar-footer button i {
    margin-right: 8px;
}

.btn-buy-key {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
}

.btn-buy-key:hover {
    background: linear-gradient(135deg, #ff4757, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 22, 61, 0.5);
}

.btn-login {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    font-weight: 600;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 22, 61, 0.5);
}

.credits {
    color: var(--text-color);
    margin-top: 15px;
    font-size: 1.1em;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.5);
}

.credits i {
    margin-right: 5px;
    color: var(--warning-color);
}

.view-key-info {
    display: block;
    color: var(--info-color);
    text-decoration: none;
    margin-top: 10px;
    font-size: 0.9em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.view-key-info:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
}

.main-content {
    margin-left: 280px;
    flex-grow: 1;
    padding: 32px 36px;
    background: radial-gradient(circle at top left, rgba(255, 22, 61, 0.16), transparent 60%),
                radial-gradient(circle at bottom right, rgba(10, 10, 10, 0.9), rgba(0, 0, 0, 0.96));
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.header-bar .title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.dark-mode-toggle {
    cursor: pointer;
    font-size: 1.5em;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
    transform: rotate(30deg);
}

.dashboard {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 26px;
    margin-bottom: 28px;
}

.glassmorphism {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: 10px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glassmorphism:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(255, 0, 0, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-color);
}

.card-header h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.card-header .count {
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8em;
    margin-left: 10px;
    box-shadow: 0 0 5px var(--primary-color);
}

.btn-filter {
    background-color: var(--info-color);
    color: var(--bg-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-filter:hover {
    background-color: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

textarea {
    width: calc(100% - 20px);
    height: 200px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-color);
    padding: 10px;
    font-size: 0.95em;
    resize: vertical;
    margin-top: 10px;
    box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.2);
}

textarea::placeholder {
    color: #a0a0a0;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.input-group select {
    width: 100%;
    padding: 10px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 0.95em;
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20256%20256%22%3E%3Cpath%20fill%3D%22%23ff0000%22%20d%3D%22M208.5%2096.5L128%20177L47.5%2096.5z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.2);
}

/* Fix dropdown options visibility */
.input-group select option {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 8px;
    margin: 5px 0;
}

.input-group select option:hover {
    background-color: #ff163d;
    color: #ffffff;
}

.input-group select option:checked {
    background-color: #ff163d;
    color: #ffffff;
}

.input-group select option:disabled {
    background-color: #2a2a2a;
    color: #888888;
}

.gate-info {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 5px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: inset 0 0 5px rgba(255, 0, 0, 0.2);
}

.gate-info h4 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.gate-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9em;
}

.gate-info ul li {
    margin-bottom: 5px;
}

.gate-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.gate-actions button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gate-actions button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.5s ease-out;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
}

.gate-actions button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.gate-actions button i {
    margin-right: 8px;
}

.btn-check {
    background-color: var(--success-color);
    color: var(--bg-color);
}

.btn-check:hover {
    background-color: #00cc00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.btn-stop {
    background-color: var(--danger-color);
    color: white;
}

.btn-stop:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.gate-stats {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.gate-stats p {
    margin: 5px 0;
    font-size: 0.95em;
    display: flex;
    align-items: center;
}

.gate-stats p i {
    margin-right: 8px;
    color: var(--info-color);
}

.result-counts {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.result-counts span {
    background-color: var(--input-bg);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin: 5px;
    border: 1px solid var(--input-border);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}

.result-counts span i {
    margin-right: 8px;
}

.live-count { color: var(--success-color); }
.dead-count { color: var(--danger-color); }
.error-count { color: var(--warning-color); }
.unknown-count { color: var(--info-color); }

.btn-copy {
    background-color: var(--info-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    margin-top: 10px;
    float: right;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-copy:hover {
    background-color: #00cccc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

body.dark-mode {
    --bg-color: #010103;
    --sidebar-bg: rgba(6, 0, 0, 0.94);
    --card-bg: rgba(0, 0, 0, 0.28);
    --text-color: #fdfdfd;
    --primary-color: #ff2748;
    --border-color: rgba(255, 39, 72, 0.38);
}

@media (max-width: 1180px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 24px;
    }
}

@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px 18px 28px;
    }

    .main-content {
        margin-left: 0;
        padding: 22px;
    }
}

@media (max-width: 600px) {
    .header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .api-input-row {
        grid-template-columns: 1fr;
    }

    .btn-icon {
        width: 100%;
    }

    textarea {
        height: 160px;
    }
}

/* Generator Styles */
.generator-container {
    padding: 30px;
}

.generator-section {
    margin-bottom: 25px;
}

.generator-controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

.generator-checkboxes {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.generator-checkboxes input[type="checkbox"] {
    cursor: pointer;
    accent-color: #00a8ff;
}

.generator-checkboxes label {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.generator-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.generator-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.generated-cards-section {
    margin-top: 30px;
    background: rgba(10, 0, 0, 0.5);
    border: 1px solid rgba(255, 22, 61, 0.15);
    border-radius: 12px;
    padding: 20px;
}

#generatedCardsList {
    background: rgba(5, 6, 9, 0.8);
    border: 1px solid rgba(255, 22, 61, 0.2);
    border-radius: 8px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 168, 255, 0.4) rgba(5, 6, 9, 0.6);
}

#generatedCardsList::-webkit-scrollbar {
    width: 8px;
}

#generatedCardsList::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

#generatedCardsList::-webkit-scrollbar-thumb {
    background: rgba(0, 168, 255, 0.4);
    border-radius: 4px;
}

#generatedCardsList::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 168, 255, 0.6);
}

@media (max-width: 1200px) {
    .generator-controls {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .generator-controls {
        grid-template-columns: 1fr;
    }

    .generator-buttons {
        flex-direction: column;
    }

    .generator-buttons button {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

/* ==================== HOMEPAGE STYLES ==================== */

.homepage-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Banner Section */
.banner-section {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: linear-gradient(135deg, rgba(255, 22, 61, 0.15), rgba(255, 22, 61, 0.05));
    border: 2px solid rgba(255, 22, 61, 0.3);
    box-shadow: 0 8px 32px rgba(255, 22, 61, 0.15);
}

.banner-image {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 10px;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 22, 61, 0.3);
}

.section-header h2 {
    margin: 0;
    font-size: 1.8em;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 22, 61, 0.4);
    font-weight: 700;
}

.section-header i {
    color: var(--primary-color);
    font-size: 1.6em;
}

/* Partners Section */
.partners-section,
.sponsors-section {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 22, 61, 0.1), rgba(179, 12, 34, 0.08));
    border: 1px solid rgba(255, 22, 61, 0.2);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(var(--glass-blur));
}

/* Grid Layouts */
.partners-grid,
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Placeholder Boxes */
.partner-placeholder,
.sponsor-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(255, 22, 61, 0.1));
    border: 2px dashed rgba(255, 22, 61, 0.4);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.partner-placeholder:hover,
.sponsor-placeholder:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(255, 22, 61, 0.15));
    border-color: rgba(255, 22, 61, 0.6);
    box-shadow: 0 0 20px rgba(255, 22, 61, 0.3);
    transform: translateY(-5px);
}

.partner-placeholder i,
.sponsor-placeholder i {
    font-size: 3em;
    color: rgba(255, 22, 61, 0.5);
    transition: color 0.3s ease;
}

.partner-placeholder:hover i,
.sponsor-placeholder:hover i {
    color: var(--primary-color);
}

.partner-placeholder p,
.sponsor-placeholder p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.partner-placeholder:hover p,
.sponsor-placeholder:hover p {
    color: var(--text-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .partners-grid,
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
    
    .section-header h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .homepage-container {
        padding: 15px;
    }
    
    .banner-section {
        min-height: 220px;
        margin-bottom: 30px;
    }
    
    .banner-image {
        max-height: 220px;
    }
    
    .partners-section,
    .sponsors-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .partners-grid,
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.3em;
    }
    
    .partner-placeholder,
    .sponsor-placeholder {
        min-height: 140px;
        padding: 15px;
    }
    
    .partner-placeholder i,
    .sponsor-placeholder i {
        font-size: 2.2em;
    }
}

@media (max-width: 480px) {
    .homepage-container {
        padding: 10px;
    }
    
    .banner-section {
        min-height: 180px;
        margin-bottom: 20px;
    }
    
    .banner-image {
        max-height: 180px;
    }
    
    .partners-section,
    .sponsors-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .partners-grid,
    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .section-header h2 {
        font-size: 1.1em;
    }
    
    .section-header {
        gap: 10px;
    }
    
    .partner-placeholder,
    .sponsor-placeholder {
        min-height: 120px;
        padding: 12px;
    }
    
    .partner-placeholder i,
    .sponsor-placeholder i {
        font-size: 1.8em;
    }
    
    .partner-placeholder p,
    .sponsor-placeholder p {
        font-size: 0.85em;
    }
}
