/* Action Section Styles */

/* Main Section Styling */
.action-acct {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2c5aa0 0%, #45b7d1 50%, #96ceb4 100%);
    background-size: 400% 400%;
    animation: actionGradient 15s ease infinite;
}

@keyframes actionGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Decorative Elements */
.action-acct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 150px 150px;
    opacity: 0.5;
    z-index: 1;
}

.action-acct::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shimmer 5s ease-in-out infinite;
    z-index: 2;
}

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

/* 3D Icon Animations */
@keyframes float3D {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(-25px) translateX(0) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) translateX(-10px) rotate(-5deg);
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: rotateY(180deg) rotateX(10deg);
    }
    100% {
        transform: rotateY(360deg) rotateX(0deg);
    }
}

/* Click Effects */
@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes particleBurst {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: translate(calc(cos(var(--angle)) * var(--speed) * 1px), 
                           calc(sin(var(--angle)) * var(--speed) * 1px));
        opacity: 0;
    }
}

/* Energy Beam */
@keyframes beamPulse {
    0%, 100% {
        opacity: 0.7;
        height: 3px;
    }
    50% {
        opacity: 1;
        height: 7px;
    }
}

@keyframes beamParticle {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(calc(var(--direction, 1) * -10px));
    }
}

/* Container Styling */
.container-acct {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* Section Header */
.section-header-acct {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title-acct {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.section-title-acct::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    border-radius: 2px;
}

.section-subtitle-acct {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* Tabs Styling */
.action-tabs-acct {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Innovative Tab Selector */
.tab-selector-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 80px;
    perspective: 1000px;
}

/* Energy Orb */
.energy-orb {
    position: absolute;
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, #f5f7fa 0%, #45b7d1 30%, #2c5aa0 70%, #1a3a63 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px #45b7d1, 0 0 60px rgba(69, 183, 209, 0.5);
    z-index: 10;
    animation: pulseOrb 3s infinite alternate;
}

@keyframes pulseOrb {
    0% { box-shadow: 0 0 30px #45b7d1, 0 0 60px rgba(69, 183, 209, 0.5); transform: translate(-50%, -50%) scale(1); }
    100% { box-shadow: 0 0 50px #45b7d1, 0 0 80px rgba(69, 183, 209, 0.7); transform: translate(-50%, -50%) scale(1.1); }
}

/* Selector Wheel */
.tab-selector-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: initialRotation 1.5s ease-out forwards, rotateWheel 20s linear infinite;
    animation-delay: 0s, 1.5s; /* Start rotating after initial rotation */
}

@keyframes initialRotation {
    from { transform: rotateY(180deg); }
    to { transform: rotateY(0deg); }
}

@keyframes rotateWheel {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Selector Segments */
.tab-selector-segment {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tab-selector-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tab-selector-segment:hover::before {
    opacity: 1;
    animation: shimmerSegment 2s infinite;
}

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

/* Position the segments in 3D space */
.tab-selector-segment:nth-child(1) {
    transform: rotateY(0deg) translateZ(150px);
}

.tab-selector-segment:nth-child(2) {
    transform: rotateY(120deg) translateZ(150px);
}

.tab-selector-segment:nth-child(3) {
    transform: rotateY(240deg) translateZ(150px);
}

/* Segment Content */
.segment-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.segment-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

/* Active Segment */
.tab-selector-segment.active {
    background: rgba(243, 156, 18, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.5);
    transform-origin: center center;
    animation: activeSegmentPulse 2s infinite alternate;
}

@keyframes activeSegmentPulse {
    0% { box-shadow: 0 0 20px rgba(243, 156, 18, 0.5); }
    100% { box-shadow: 0 0 40px rgba(243, 156, 18, 0.8); }
}

.tab-selector-segment.active .segment-icon,
.tab-selector-segment.active .segment-label {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.tab-selector-segment.active .segment-icon {
    transform: scale(1.2);
}

/* Energy Particles */
.energy-particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.energy-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.7;
    pointer-events: none;
    box-shadow: 0 0 10px #45b7d1;
}

/* Tab Content */
.tab-content-acct {
    position: relative;
}

.tab-panel-acct {
    display: none;
    animation: fadeIn 0.8s ease;
}

.tab-panel-acct.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Action Grid */
.action-grid-acct {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Action Items */
.action-item-acct {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.action-item-acct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f39c12, #e74c3c);
    z-index: 2;
}

/* Resources Section Styling */
.resources-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3a63 0%, #2c5aa0 50%, #45b7d1 100%);
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 150px 150px;
    opacity: 0.5;
    z-index: 1;
}

.resources-container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
}

.resources-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.resource-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px 30px;
    width: 100%;
    max-width: 450px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.resource-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.resource-button:hover::before {
    opacity: 1;
    animation: shimmerButton 2s infinite;
}

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

.button-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: #f39c12;
    transition: all 0.3s ease;
}

.button-text {
    flex: 1;
}

.button-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.button-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.button-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.resource-button:hover .button-arrow {
    transform: translateX(5px);
}

.resource-button:hover .button-icon {
    transform: scale(1.1);
}

/* Poster and References Sections */
.poster-section,
.references-section {
    display: none; /* Hidden by default, shown when button clicked */
    padding: 100px 0;
    background: linear-gradient(135deg, #1a3a63 0%, #2c5aa0 50%, #45b7d1 100%);
    position: relative;
    min-height: 100vh;
}

.references-section .section-title {
    color: #ffffff;
    font-size: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.references-section .section-subtitle {
    color: #f0f0f0;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.poster-content,
.references-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin-top: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.poster-placeholder,
.references-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: rgba(255, 255, 255, 0.7);
}

.poster-placeholder i,
.references-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.back-to-action {
    margin-top: 40px;
    text-align: center;
}

.back-button {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    padding: 12px 25px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.back-button i {
    margin-right: 10px;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Additional Resources Section */
.additional-resources {
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.resources-header {
    text-align: center;
    margin-bottom: 40px;
}

.resources-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.resources-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.resources-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.resource-button {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.resource-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.resource-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.resource-button:hover::before {
    opacity: 1;
    animation: shimmerButton 2s infinite;
}

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

.button-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-right: 20px;
    transition: all 0.4s ease;
}

.button-text {
    flex: 1;
}

.button-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.button-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.button-arrow {
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.resource-button:hover .button-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.resource-button:hover .button-icon {
    transform: scale(1.1);
}

.poster-btn {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(231, 76, 60, 0.2));
}

.reference-btn {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(155, 89, 182, 0.2));
}

/* Poster and References Sections */
.poster-section, .references-section {
    padding: 120px 0;
    min-height: 100vh;
    display: none;
    background: linear-gradient(135deg, #2c5aa0 0%, #45b7d1 50%, #96ceb4 100%);
    background-size: 400% 400%;
    animation: sectionGradient 15s ease infinite;
    position: relative;
}

@keyframes sectionGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.poster-content, .references-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.poster-placeholder, .references-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.poster-placeholder i, .references-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.poster-placeholder p, .references-placeholder p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.back-to-action {
    text-align: center;
    margin-top: 40px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.back-button i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.back-button:hover i {
    transform: translateX(-5px);
}

.action-item-acct::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.08), transparent);
    z-index: -1;
}

.action-item-acct:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.action-item-acct i {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: all 0.4s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.action-item-acct:hover i {
    transform: scale(1.2) rotate(5deg);
}

.action-item-acct h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.action-item-acct p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

/* Illustration Placeholder */
.illustration-placeholder {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 0.8rem;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px dashed rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.illustration-top-right {
    top: -50px;
    right: -30px;
}

.illustration-bottom-left {
    bottom: -70px;
    left: -40px;
}

/* 3D Floating Icons */
.floating-3d-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    pointer-events: none;
    z-index: 1;
    animation: float3D linear infinite;
    perspective: 1000px;
}

.floating-3d-icon i {
    display: inline-block;
    animation: rotate3D linear infinite;
    transform-style: preserve-3d;
}

/* Click Effects */
.click-ripple {
    position: fixed;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    animation: rippleEffect 1s ease-out forwards;
}

.click-particle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffcc00;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    animation: particleBurst var(--duration, 0.8s) ease-out forwards;
}

/* Energy Beam */
.energy-beam {
    position: fixed;
    height: 5px;
    background: linear-gradient(90deg, rgba(255,204,0,0) 0%, rgba(255,204,0,1) 50%, rgba(255,204,0,0) 100%);
    transform-origin: 0 50%;
    z-index: 9998;
    pointer-events: none;
    animation: beamPulse 0.5s infinite;
    border-radius: 3px;
}

.beam-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    animation: beamParticle 1s infinite;
}

.beam-particle:nth-child(odd) {
    --direction: -1;
    background: rgba(255, 204, 0, 0.8);
}

.beam-particle:nth-child(even) {
    --direction: 1;
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title-acct {
        font-size: 2.5rem;
    }
    
    .tab-buttons-acct {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tab-btn-acct {
        width: 100%;
        max-width: 300px;
    }
    
    .action-grid-acct {
        grid-template-columns: 1fr;
    }
    
    .action-item-acct {
        padding: 30px 20px;
    }
}