/* MyFunCircle.com - Custom Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    min-height: 100vh;
}

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

/* Navigation Styles */
.myfuncircle-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.myfuncircle-navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.myfuncircle-navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.5rem;
}

.myfuncircle-navbar-logo {
    height: 40px;
    margin-right: 10px;
}

.myfuncircle-navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.myfuncircle-navbar-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.myfuncircle-navbar-link:hover,
.myfuncircle-navbar-link.active {
    color: #ff6b35;
}

.myfuncircle-navbar-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.myfuncircle-navbar-link:hover::after,
.myfuncircle-navbar-link.active::after {
    width: 100%;
}

.myfuncircle-navbar-cta {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.myfuncircle-navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.myfuncircle-navbar-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.myfuncircle-navbar-toggle-bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .myfuncircle-navbar-toggle {
        display: flex;
    }
    
    .myfuncircle-navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(10px);
    }
    
    .myfuncircle-navbar-menu.active {
        left: 0;
    }
    
    .myfuncircle-navbar-link {
        padding: 1rem;
        font-size: 1.2rem;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: center;
    }
    
    .myfuncircle-navbar-cta {
        margin-top: 1rem;
        display: inline-block;
    }
}

/* Hero Section */
.myfuncircle-hero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.myfuncircle-hero::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="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.myfuncircle-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.myfuncircle-hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.myfuncircle-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.myfuncircle-hero-cta {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.myfuncircle-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    color: white;
}

/* Section Styles */
.myfuncircle-section {
    padding: 80px 0;
    background: white;
}

.myfuncircle-section-alt {
    background: #f8f9fa;
}

.myfuncircle-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.myfuncircle-section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.myfuncircle-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.myfuncircle-feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ecf0f1;
}

.myfuncircle-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.myfuncircle-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.myfuncircle-feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.myfuncircle-feature-desc {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Games Grid */
.myfuncircle-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.myfuncircle-game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ecf0f1;
}

.myfuncircle-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.myfuncircle-game-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.myfuncircle-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.myfuncircle-game-card:hover .myfuncircle-game-image img {
    transform: scale(1.05);
}

.myfuncircle-game-content {
    padding: 1.5rem;
}

.myfuncircle-game-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.myfuncircle-game-desc {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.myfuncircle-game-play {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.myfuncircle-game-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Stats Section */
.myfuncircle-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.myfuncircle-stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.myfuncircle-stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6b35;
    display: block;
    margin-bottom: 0.5rem;
}

.myfuncircle-stat-label {
    color: #7f8c8d;
    font-weight: 500;
}

/* Testimonials */
.myfuncircle-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.myfuncircle-testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff6b35;
}

.myfuncircle-testimonial-content {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.myfuncircle-testimonial-author {
    display: flex;
    align-items: center;
}

.myfuncircle-author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.myfuncircle-author-name {
    font-weight: bold;
    color: #2c3e50;
}

.myfuncircle-author-location {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Footer */
.myfuncircle-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.myfuncircle-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.myfuncircle-footer-section h3 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

.myfuncircle-footer-section p,
.myfuncircle-footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.6;
}

.myfuncircle-footer-section a:hover {
    color: #ff6b35;
}

.myfuncircle-footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .myfuncircle-hero-title {
        font-size: 2.5rem;
    }
    
    .myfuncircle-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .myfuncircle-section-title {
        font-size: 2rem;
    }
    
    .myfuncircle-features-grid,
    .myfuncircle-games-grid,
    .myfuncircle-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Cookie Consent */
.myfuncircle-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    backdrop-filter: blur(10px);
    display: none;
}

.myfuncircle-cookie-consent.show {
    display: block;
}

.myfuncircle-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15) !important;
}

.myfuncircle-feature-card,
.myfuncircle-game-card,
.myfuncircle-testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.myfuncircle-feature-card.animate-in,
.myfuncircle-game-card.animate-in,
.myfuncircle-testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.myfuncircle-cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.myfuncircle-cookie-text {
    flex: 1;
    margin-right: 1rem;
}

.myfuncircle-cookie-buttons {
    display: flex;
    gap: 1rem;
}

.myfuncircle-cookie-accept {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.myfuncircle-cookie-policy {
    color: #ff6b35;
    text-decoration: none;
}

.myfuncircle-cookie-policy:hover {
    text-decoration: underline;
}

/* Contact Grid Styles */
.myfuncircle-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .myfuncircle-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .myfuncircle-contact-grid h2 {
        font-size: 1.5rem !important;
    }
    
    .myfuncircle-contact-grid .myfuncircle-section-subtitle {
        font-size: 0.9rem !important;
    }
    
    .myfuncircle-contact-grid input,
    .myfuncircle-contact-grid select,
    .myfuncircle-contact-grid textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .myfuncircle-contact-grid p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .myfuncircle-cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .myfuncircle-cookie-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Classes to replace inline styles - CSP compliant */
.game-tag {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 5px;
    display: inline-block;
}

.game-tag:last-child {
    margin-right: 0;
}

.myfuncircle-game-card {
    position: relative;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.news-date {
    background: #e74c3c;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 1rem;
    text-align: center;
    min-width: 60px;
}

.news-date-day {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
}

.news-date-month {
    font-size: 0.8rem;
}

.news-content h3 {
    margin: 0;
    color: #2c3e50;
}

.news-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.team-role {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 1rem;
}

.about-section-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.contact-header {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.contact-subtitle {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: bold;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-color: #e74c3c;
    outline: none;
}

.contact-textarea {
    resize: vertical;
}

.contact-button {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-info-title {
    color: #e74c3c;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info-text {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info-time {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.contact-link {
    color: #e74c3c;
    text-decoration: none;
}

.contact-footer {
    max-width: 800px;
    margin: 0 auto;
}

.disclaimer-box {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.disclaimer-strong {
    color: #0c5460;
}

.faq-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.faq-question {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.faq-answer {
    color: #7f8c8d;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.center-text {
    max-width: 800px;
    margin: 0 auto;
}

.footer-disclaimer-box {
    background: #34495e;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.footer-text {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-link {
    color: #e74c3c;
}

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

#myfuncircle-form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

#myfuncircle-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#myfuncircle-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .contact-header {
        font-size: 1.5rem;
    }
    
    .contact-button {
        font-size: 1rem;
        padding: 12px 24px;
    }
}
