/* Public site styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
}

.main-header {
    background: var(--primary);
    color: white;
}

.logo-container span {
    color: var(--secondary);
}

.main-nav li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    display: block;
}

.main-nav li a:hover, 
.main-nav li a.active {
    background: rgba(255,255,255,0.1);
    color: var(--secondary);
}

.hero-overlay h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.cta-button {
    background: var(--secondary);
    color: #333;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: #333;
    text-decoration: none;
    background: var(--secondary);
}

.player-sidebar, 
.sponsor-sidebar {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.player-card {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--secondary);
}

.sponsor-info a {
    color: var(--primary);
    text-decoration: none;
}

.video-card, 
.sponsor-card, 
.potm-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-footer {
    background: var(--bg-dark);
    color: white;
    padding: 40px 5%;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* USE VARIABLES INSTEAD OF HARD-CODED VALUES */
.about-section h2 {
    border-bottom: 2px solid var(--secondary);
    color: var(--primary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-tag {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.2em;
}

/* Update other elements to use variables */
.section-title {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary);
    font-weight: bold;
}

.accent-border {
    border-left: 4px solid var(--secondary);
    padding-left: 15px;
}

/* Player scroll layout */
.player-scroll-container {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 10px;
}

.player-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.player-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.player-scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.player-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Improved POTM Section Styles */
.potm-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.potm-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
}

.potm-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.potm-card {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.potm-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.potm-header h3 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

.potm-content {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.potm-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    background: white;
}

.potm-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--secondary);
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.potm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.potm-video-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.potm-video {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.potm-video iframe,
.potm-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.potm-details {
    padding: 25px;
    background: #f9f9f9;
}

.potm-details p {
    line-height: 1.8;
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.no-potm {
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    padding: 20px;
    border-radius: 0 4px 4px 0;
    font-size: 1.1rem;
}

/* Popup Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
}

.modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .close-modal {
        right: 20px;
        font-size: 30px;
    }
}